| Module | Facebooker::Rails::Controller::ClassMethods |
| In: |
lib/facebooker/rails/controller.rb
|
# File lib/facebooker/rails/controller.rb, line 344 def ensure_application_is_installed_by_facebook_user(options = {}) before_filter :ensure_application_is_installed_by_facebook_user, options end
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.
# File lib/facebooker/rails/controller.rb, line 340 def ensure_authenticated_to_facebook(options = {}) before_filter :ensure_authenticated_to_facebook, options end