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