mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 03:51:07 +08:00
Make rubocop happy again.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user