Class: Bard::Static::LinkToHelper::LinkToNav
- Inherits:
-
LinkToCurrent
- Object
- LinkTo
- LinkToCurrent
- Bard::Static::LinkToHelper::LinkToNav
- Defined in:
- app/helpers/bard/static/link_to_helper.rb
Instance Attribute Summary
Attributes inherited from LinkToCurrent
Attributes inherited from LinkTo
#context, #html_options, #name, #options
Instance Method Summary collapse
Methods inherited from LinkToCurrent
Methods inherited from LinkTo
#initialize, render, #render, #url
Constructor Details
This class inherits a constructor from Bard::Static::LinkToHelper::LinkTo
Instance Method Details
#current_condition ⇒ Object
91 92 93 |
# File 'app/helpers/bard/static/link_to_helper.rb', line 91 def current_condition super || current_path.starts_with?(url) end |