Displaying 1 result from an estimated 1 matches for "events_path".
2009 Sep 24
4
Action Controller ::MethodNotAllowed
...t
controller - Events
map.resources :events, :member => {:manage => :get}, :new => {:preview
=> :post, :publilsh => :post}
The EventsController has functions for new, create, edit, update,
manage, preview and publish.
the new.html.erb snippet is
<% form_for @event, :url => events_path, :html => {:multipart =>
true, :id => "event_form"} do |f| -%>
<%= render :partial => "form", :locals => {:f => f} %>
<%= link_to image_tag("/images/btn-cancel.png", :border => 0),
dashboard_path, :style => "float:left;"...