More information
In my original view I had :
<% form_for :building, :url => buildings_path do |f| -%> #
The create action worked well locally but not on the server
I tested with :
<% form_for :building, :url => {:action => 'create', :controller =>
'buildings'} do |f| -%> # I had stil the sam
Hello, this is very strange if in my view I replace the 'create'
action by another name, it works (i have also modified the controller
with the same action name of course) !!!
<% form_for :building, :url => {:action => 'created', :controller =>
'buildings'} do |f| -%>
--~--~-~--~~-
2 matches
Mail list logo