Skip to content

Commit

Permalink
Update lib/path_helpers.rb
Browse files Browse the repository at this point in the history
Co-authored-by: Fabio Bonelli <[email protected]>
  • Loading branch information
Lorezz and bfabio authored Jul 16, 2024
1 parent 9fc19cb commit 71c3c94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/path_helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def page_path(page, locale: I18n.locale)
end

def page_path_with_anchor(page, anchor)
anchor ? "#{page_path(page)}#{anchor}" : page_path(page,locale)
anchor ? "#{page_path(page)}#{anchor}" : page_path(page, locale)
end

def home_path
Expand Down

0 comments on commit 71c3c94

Please sign in to comment.