Skip to content

Commit

Permalink
Clean out some lint
Browse files Browse the repository at this point in the history
  • Loading branch information
awwaiid committed Feb 25, 2024
1 parent bce1288 commit 2826843
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/application_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def default_title_content
end

def active_class(name)
if name.include?(controller_path) || name.find{|n| request.path.ends_with?(n)}
if name.include?(controller_path) || name.find { |n| request.path.ends_with?(n) }
"active"
else
controller_path
Expand Down

0 comments on commit 2826843

Please sign in to comment.