mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-09-12 13:16:55 +00:00
6 lines
104 B
Ruby
6 lines
104 B
Ruby
module ApplicationHelper
|
|
def active_nav_class(path)
|
|
current_page?(path) ? 'active' : ''
|
|
end
|
|
end
|