Remove unused active_nav_class
helper method (#29617)
This commit is contained in:
parent
d5063072c3
commit
6d2986017e
2 changed files with 0 additions and 28 deletions
|
@ -28,10 +28,6 @@ module ApplicationHelper
|
|||
number_to_human(number, **options)
|
||||
end
|
||||
|
||||
def active_nav_class(*paths)
|
||||
paths.any? { |path| current_page?(path) } ? 'active' : ''
|
||||
end
|
||||
|
||||
def open_registrations?
|
||||
Setting.registrations_mode == 'open'
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue