Add strong params implementation to properties controller

This commit is contained in:
Luis Ramos
2020-04-04 11:17:22 +01:00
parent b8f8db0341
commit 07264446e6

View File

@@ -1,6 +1,9 @@
module Spree
module Admin
class PropertiesController < ResourceController
def permitted_resource_params
params.require(:property).permit(:name, :presentation)
end
end
end
end