X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/0c4cbda662502f05646a4e82f5d8f639b9183059..5cb04d5ee04f843d9cacc8033b160cae1dd78215:/app/helpers/application_helper.rb diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 17c36bdfe..368668a9b 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -41,8 +41,8 @@ module ApplicationHelper end end - def current_page_class(path) - :current if current_page?(path) + def header_nav_link_class(path) + ["nav-link", current_page?(path) ? "text-secondary-emphasis" : "text-secondary"] end def application_data