This commit is contained in:
r888888888
2017-11-07 11:56:26 -08:00
parent af7c109912
commit d0ccce6985
2 changed files with 1 additions and 1 deletions

View File

@@ -13,6 +13,7 @@ class ApplicationController < ActionController::Base
layout "default"
force_ssl :if => :ssl_login?
helper_method :show_moderation_notice?
before_filter :enable_cors
rescue_from Exception, :with => :rescue_exception
rescue_from User::PrivilegeError, :with => :access_denied

View File

@@ -1,7 +1,6 @@
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]
respond_to :html, :xml, :json
def index