Module: Resourcelogic::SubViews::Config
- Defined in:
- lib/resourcelogic/sub_views.rb
Instance Method Summary collapse
- #namespace_views_by_context(value = nil) ⇒ Object
- #namespace_views_by_context? ⇒ Boolean
- #namespace_views_by_route_alias(value = nil) ⇒ Object
- #namespace_views_by_route_alias? ⇒ Boolean
Instance Method Details
#namespace_views_by_context(value = nil) ⇒ Object
13 14 15 |
# File 'lib/resourcelogic/sub_views.rb', line 13 def namespace_views_by_context(value = nil) rw_config(:namespace_views_by_context, value) end |
#namespace_views_by_context? ⇒ Boolean
17 18 19 |
# File 'lib/resourcelogic/sub_views.rb', line 17 def namespace_views_by_context? !namespace_views_by_context.blank? end |
#namespace_views_by_route_alias(value = nil) ⇒ Object
21 22 23 |
# File 'lib/resourcelogic/sub_views.rb', line 21 def namespace_views_by_route_alias(value = nil) rw_config(:namespace_views_by_route_alias, value) end |
#namespace_views_by_route_alias? ⇒ Boolean
25 26 27 |
# File 'lib/resourcelogic/sub_views.rb', line 25 def namespace_views_by_route_alias? !namespace_views_by_route_alias.blank? end |