1
0
Fork 0
mirror of https://github.com/kaminari/kaminari.git synced 2022-11-09 13:44:37 -05:00

Freeze Constants

This commit is contained in:
Akira Matsuda 2016-10-12 08:00:18 +09:00
parent 73fccb6707
commit 08ef4efa4e

View file

@ -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