The link "Save" calls an action edit_ci_functional_spec in another
controller ci_controller:
def edit_ci_functional_spec
@ci = Ci.find(params[:ci])
@ci.content.functional_spec= params[:ci_content][:functional_spec]
@ci.content.save
redirect_to :action => 'edit', :ci => @ci
end
But i'm not getting the value of params[:ci_content][:functional_spec]
in the above action. Anyone please help me to solve this.
The link "Save" calls an action edit_ci_functional_spec in another
controller ci_controller:
def edit_ci_functional_spec
@ci = Ci.find(params[:ci])
@ci.content.functional_spec= params[:ci_content][:functional_spec]
@ci.content.save
redirect_to :action => 'edit', :ci => @ci
end
But i'm not getting the value of params[:ci_content][:functional_spec]
in the above action. Anyone please help me to solve this.
Why would it? Save is just a link and fuctional_spec is a textfield elsewhere on the page. Sounds like you want a form instead.