Fix rubocop issues, introduce usage of frozen literal to improve performance
This commit is contained in:
@ -1,3 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module ApplicationHelper
|
||||
def active_nav_class(path)
|
||||
current_page?(path) ? 'active' : ''
|
||||
|
Reference in New Issue
Block a user