osem-fcy/app/helpers/paths_helper.rb

13 lines
201 B
Ruby

module PathsHelper
##
# Includes functions related to links or redirects
##
def active_nav_li(link)
if current_page?(link)
return 'active'
else
return ''
end
end
end