require membership to see post history
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
class PostVersionsController < ApplicationController
|
||||
before_filter :member_only
|
||||
respond_to :html, :xml, :json
|
||||
|
||||
def index
|
||||
|
||||
@@ -19,7 +19,6 @@
|
||||
<h1>Options</h1>
|
||||
<%= render "posts/partials/show/options", :post => @post %>
|
||||
</section>
|
||||
<% end %>
|
||||
|
||||
<section id="post-history">
|
||||
<h1>History</h1>
|
||||
@@ -31,6 +30,8 @@
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
<% end %>
|
||||
|
||||
</aside>
|
||||
|
||||
<section id="content">
|
||||
|
||||
Reference in New Issue
Block a user