Skip to content

Commit

Permalink
change tab default history action to replace
Browse files Browse the repository at this point in the history
  • Loading branch information
DaanVanVugt committed Aug 3, 2023
1 parent 10684fc commit d03f74d
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 @@ -294,7 +294,7 @@ def tab(text, icon, href, disabled: { check: false }, active: false, count: nil,
else
options['data-toggle'] = 'tab'
options['data-tab-history'] = true
options['data-tab-history-changer'] = 'push'
options['data-tab-history-changer'] = 'replace'
options['data-tab-history-update-url'] = true
end

Expand Down

0 comments on commit d03f74d

Please sign in to comment.