This commit is contained in:
r888888888
2015-07-21 13:42:32 -07:00
parent 9e6d08600c
commit d8f639e721
2 changed files with 5 additions and 0 deletions

View File

@@ -1,6 +1,7 @@
class PostsController < ApplicationController
before_filter :member_only, :except => [:show, :show_seq, :index, :home, :random]
before_filter :builder_only, :only => [:copy_notes]
before_filter :enable_cors, :only => [:index, :show]
after_filter :save_recent_tags, :only => [:update]
respond_to :html, :xml, :json
rescue_from PostSets::SearchError, :with => :rescue_exception