Skip to content

Commit 1b52825

Browse files
committed
add fields to permitted parameters
1 parent e5db974 commit 1b52825

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/controllers/resource_items_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def resource_class
7878

7979
def resource_item_params
8080
if parameters = params[:human] || params[:asset]
81-
parameters.permit :name, :category_id
81+
parameters.permit :name, :category_id, :start_date, :end_date
8282
end
8383
end
8484

0 commit comments

Comments
 (0)