mirror of
https://github.com/edcommonwealth/ecp.org.git
synced 2026-03-15 02:05:55 -07:00
Update web copy. Style pages with bootstrap accordions.
This commit is contained in:
parent
f5e66dacb8
commit
5b7133d7ff
11 changed files with 475 additions and 211 deletions
9
app/helpers/nav_helper.rb
Normal file
9
app/helpers/nav_helper.rb
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
module NavHelper
|
||||
def link_highlight(path:)
|
||||
active?(path:) ? 'active' : ''
|
||||
end
|
||||
|
||||
def active?(path:)
|
||||
current_page?(path)
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue