Module: Facebooker::Rails::Controller::ClassMethods

Defined in:
lib/facebooker/rails/controller.rb

Instance Method Summary collapse

Instance Method Details

#ensure_application_is_installed_by_facebook_user(options = {}) ⇒ Object



278
279
280
# File 'lib/facebooker/rails/controller.rb', line 278

def ensure_application_is_installed_by_facebook_user(options = {})
  before_filter :ensure_application_is_installed_by_facebook_user, options
end

#ensure_authenticated_to_facebook(options = {}) ⇒ Object

Creates a filter which reqires a user to have already authenticated to Facebook before executing actions. Accepts the same optional options hash which before_filter and after_filter accept.



274
275
276
# File 'lib/facebooker/rails/controller.rb', line 274

def ensure_authenticated_to_facebook(options = {})
  before_filter :ensure_authenticated_to_facebook, options
end