app/controllers/concerns/adminpanel/facebook_actions.rb in adminpanel-2.1.1 vs app/controllers/concerns/adminpanel/facebook_actions.rb in adminpanel-2.1.2
- old
+ new
@@ -1,10 +1,10 @@
module Adminpanel
module FacebookActions
extend ActiveSupport::Concern
included do
- before_filter :set_auths_count
+ before_filter :set_auths_count, only:[:index, :create, :update, :destroy, :show]
end
def fb_choose_page
access_token = Koala::Facebook::OAuth.new(
Adminpanel.fb_app_id,