app/controllers/smithy/base_controller.rb in smithycms-0.4.1 vs app/controllers/smithy/base_controller.rb in smithycms-0.4.2
- old
+ new
@@ -15,9 +15,9 @@
def filtered_params
permitted_params.params_for controller_name.singularize
end
def permitted_params
- permitted_params ||= PermittedParams.new(params, smithy_current_user)
+ permitted_params ||= Smithy::PermittedParams.new(params, smithy_current_user)
end
helper_method :permitted_params
end