Module: Devise::Controllers::ScopedViews::ClassMethods
- Defined in:
- lib/devise/controllers/scoped_views.rb
Instance Method Summary collapse
Instance Method Details
#scoped_views=(value) ⇒ Object
13 14 15 |
# File 'lib/devise/controllers/scoped_views.rb', line 13 def scoped_views=(value) @scoped_views = value end |
#scoped_views? ⇒ Boolean
9 10 11 |
# File 'lib/devise/controllers/scoped_views.rb', line 9 def scoped_views? defined?(@scoped_views) ? @scoped_views : Devise.scoped_views end |