mirror of
https://github.com/mastodon/mastodon.git
synced 2025-03-22 04:35:47 +01:00
5 lines
104 B
Ruby
5 lines
104 B
Ruby
module ApplicationHelper
|
|
def active_nav_class(path)
|
|
current_page?(path) ? 'active' : ''
|
|
end
|
|
end
|