Skip to content

Commit

Permalink
Make helper method private
Browse files Browse the repository at this point in the history
This isn't used outside this module
  • Loading branch information
yndajas committed May 9, 2024
1 parent ca588c7 commit c87ec5c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/helpers/admin/url_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ def admin_header_link(name, path, path_matcher = nil, options = {})
end
end

private

def active_link_class(path_matcher)
request.path.match?(path_matcher) ? "active" : ""
end
Expand Down

0 comments on commit c87ec5c

Please sign in to comment.