delete unnecessary parenthesis

This commit is contained in:
Alberto García
2017-12-14 21:13:46 +01:00
committed by GitHub
parent 76a3dd5b1c
commit b4782f73f2

View File

@@ -44,7 +44,7 @@ class Admin::BudgetInvestmentMilestonesController < Admin::BaseController
def milestone_params def milestone_params
params.require(:budget_investment_milestone) params.require(:budget_investment_milestone)
.permit(:title, :description, :publication_date, :budget_investment_id, .permit(:title, :description, :publication_date, :budget_investment_id,
image_attributes: [:id, :title, :attachment, :cached_attachment, :user_id, :_destroy]), image_attributes: [:id, :title, :attachment, :cached_attachment, :user_id, :_destroy],
documents_attributes: [:id, :title, :attachment, :cached_attachment, :user_id, :_destroy]) documents_attributes: [:id, :title, :attachment, :cached_attachment, :user_id, :_destroy])
end end