mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-11-17 20:32:56 +00:00
3cc47beb6e
as well as formatting of content
6 lines
104 B
Ruby
6 lines
104 B
Ruby
module ApplicationHelper
|
|
def active_nav_class(path)
|
|
current_page?(path) ? 'active' : ''
|
|
end
|
|
end
|