Module: Resourcelogic::SubViews::Partials
- Included in:
- ActionView::Base
- Defined in:
- lib/resourcelogic/sub_views.rb
Instance Method Summary collapse
Instance Method Details
#_pick_partial_template(partial_path) ⇒ Object
82 83 84 85 86 87 88 |
# File 'lib/resourcelogic/sub_views.rb', line 82 def _pick_partial_template(partial_path) if respond_to?(:namespace_views_by_context?) && respond_to?(:namespace_views_by_route_alias?) && (namespace_views_by_context? || namespace_views_by_route_alias?) && !partial_path.include?("/") partial_path = sub_template_name(partial_path) end super end |