Skip to content

Commit

Permalink
Merge pull request #1020 from viseztrance/fix/add-entry-to-blacklist
Browse files Browse the repository at this point in the history
Blacklist "original_script_name" get param
  • Loading branch information
amatsuda authored May 16, 2020
2 parents 04d86ed + 8dd52a1 commit 674aeec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kaminari-core/lib/kaminari/helpers/tags.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

module Kaminari
module Helpers
PARAM_KEY_EXCEPT_LIST = [:authenticity_token, :commit, :utf8, :_method, :script_name].freeze
PARAM_KEY_EXCEPT_LIST = [:authenticity_token, :commit, :utf8, :_method, :script_name, :original_script_name].freeze

# A tag stands for an HTML tag inside the paginator.
# Basically, a tag has its own partial template file, so every tag can be
Expand Down

0 comments on commit 674aeec

Please sign in to comment.