require membership to see post history

This commit is contained in:
r888888888
2017-03-01 16:29:00 -08:00
parent 704d7bd560
commit 5676978096
2 changed files with 13 additions and 11 deletions

View File

@@ -1,4 +1,5 @@
class PostVersionsController < ApplicationController class PostVersionsController < ApplicationController
before_filter :member_only
respond_to :html, :xml, :json respond_to :html, :xml, :json
def index def index

View File

@@ -19,7 +19,6 @@
<h1>Options</h1> <h1>Options</h1>
<%= render "posts/partials/show/options", :post => @post %> <%= render "posts/partials/show/options", :post => @post %>
</section> </section>
<% end %>
<section id="post-history"> <section id="post-history">
<h1>History</h1> <h1>History</h1>
@@ -31,6 +30,8 @@
</ul> </ul>
</section> </section>
<% end %>
</aside> </aside>
<section id="content"> <section id="content">