Open brenoperucchi opened 7 years ago
Line 40 it resolve the problem with namespace in the model with strong_params on controller.
proposal = Admin::Proposal.first editable proposal
params on Controller will get "params[:proposal]" and not "params[:admin_proposal]"
I didn't get to compare version 1.5.5 correctty with master
Line 40 it resolve the problem with namespace in the model with strong_params on controller.
proposal = Admin::Proposal.first editable proposal
params on Controller will get "params[:proposal]" and not "params[:admin_proposal]"
I didn't get to compare version 1.5.5 correctty with master