mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Exclusions from .rubocop_todo.yml deleted.This cop checks for redundant return expressions. Fixes #1824
13 lines
187 B
Ruby
13 lines
187 B
Ruby
module PathsHelper
|
|
##
|
|
# Includes functions related to links or redirects
|
|
##
|
|
|
|
def active_nav_li(link)
|
|
if current_page?(link)
|
|
'active'
|
|
else
|
|
''
|
|
end
|
|
end
|
|
end
|