-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Description
Currently the ApplicationController methods has been changed a bit. resource_params method returns output of permitted params for other class - YourControllerDashboard instead of Admin::YourController. So, permitted_attributes method no longer belongs to the ApplicationController class, and neither used in it.
Let me know if I am wrong at this point, and if I am not - what will be a new solution?
I am digging around trying to use this workaround:
private
def dashboard
super.permitted_attributes << :image
end
Reopening previous issue:
#207
causztic
Metadata
Metadata
Assignees
Labels
No labels