Displaying 1 result from an estimated 1 matches for "content_campaign_id".
2007 Sep 21
1
generating nested resource path
...9;'t seem to generate the new path after I create a new
attachment:
(attachments_controller.rb)
format.xml { head :created, :location =>
attachment_url(@attachment) }
I get this trace:
ActionController::RoutingError (attachment_url failed to generate from
{:action=>"show", :content_campaign_id=>"7", :controller=>"attachments"},
expected: {:action=>"show", :controller=>"attachments"}, diff:
{:content_campaign_id=>"7"}):
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/
action_controller/routing.rb:1273:in `raise_n...