mirror of
https://github.com/discourse/discourse.git
synced 2025-09-07 12:02:53 +08:00
Make rubocop happy again.
This commit is contained in:
parent
c6c1ef71c1
commit
ad5082d969
79 changed files with 3155 additions and 3155 deletions
|
@ -9,10 +9,10 @@ class ExportCsvController < ApplicationController
|
|||
end
|
||||
|
||||
private
|
||||
def export_params
|
||||
@_export_params ||= begin
|
||||
params.require(:entity)
|
||||
params.permit(:entity, args: [:name, :start_date, :end_date, :category_id, :group_id, :trust_level]).to_h
|
||||
end
|
||||
def export_params
|
||||
@_export_params ||= begin
|
||||
params.require(:entity)
|
||||
params.permit(:entity, args: [:name, :start_date, :end_date, :category_id, :group_id, :trust_level]).to_h
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue