mirror of
https://github.com/kaminari/kaminari.git
synced 2022-11-09 13:44:37 -05:00
Freeze Constants
This commit is contained in:
parent
73fccb6707
commit
08ef4efa4e
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
# frozen_string_literal: true
|
||||
module Kaminari
|
||||
module Helpers
|
||||
PARAM_KEY_BLACKLIST = :authenticity_token, :commit, :utf8, :_method, :script_name
|
||||
PARAM_KEY_BLACKLIST = [:authenticity_token, :commit, :utf8, :_method, :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
|
||||
|
|
Loading…
Reference in a new issue