Module: Entrance::Controller::ClassMethods
- Defined in:
- lib/entrance/controller.rb
Instance Method Summary collapse
-
#allow_paths ⇒ Object
lets us do app.skip_paths.push(‘/specific/path/we/want/unprotected’).
Instance Method Details
#allow_paths ⇒ Object
lets us do app.skip_paths.push(‘/specific/path/we/want/unprotected’)
10 11 12 |
# File 'lib/entrance/controller.rb', line 10 def allow_paths @allow_paths ||= [] end |