x-editable-rails icon indicating copy to clipboard operation
x-editable-rails copied to clipboard

fixing model with namespace

Open brenoperucchi opened this issue 7 years ago • 0 comments

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

brenoperucchi avatar Feb 17 '17 06:02 brenoperucchi