Module: Opro::Controllers::ApplicationControllerHelper::ClassMethods
- Defined in:
- lib/opro/controllers/application_controller_helper.rb
Instance Method Summary collapse
Instance Method Details
#allow_oauth!(options = {}) ⇒ Object
23 24 25 |
# File 'lib/opro/controllers/application_controller_helper.rb', line 23 def allow_oauth!( = {}) prepend_before_filter :allow_oauth, end |
#disallow_oauth!(options = {}) ⇒ Object
27 28 29 30 |
# File 'lib/opro/controllers/application_controller_helper.rb', line 27 def disallow_oauth!( = {}) prepend_before_filter :disallow_oauth, skip_before_filter :allow_oauth, end |