mirror of
https://github.com/internetee/registry.git
synced 2025-07-27 04:58:29 +02:00
Updated .codeclimate.yml
This commit is contained in:
parent
e68039902d
commit
6e271a9242
2 changed files with 2 additions and 2 deletions
|
@ -31,7 +31,7 @@ plugins:
|
||||||
enabled: false
|
enabled: false
|
||||||
rubocop:
|
rubocop:
|
||||||
enabled: true
|
enabled: true
|
||||||
channel: rubocop-1-18-3
|
channel: rubocop-1-45
|
||||||
checks:
|
checks:
|
||||||
Rubocop/Style/ClassAndModuleChildren:
|
Rubocop/Style/ClassAndModuleChildren:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
|
|
@ -44,7 +44,7 @@ module Repp
|
||||||
private
|
private
|
||||||
|
|
||||||
def search_params
|
def search_params
|
||||||
params.permit(:q, q: %i[start_date end_date compare_to_end_date compare_to_start_date])
|
params.permit(:q, q: %i[end_date compare_to_end_date])
|
||||||
.fetch(:q, {}) || {}
|
.fetch(:q, {}) || {}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue