Thanks for your replies. I didn't use / or generate scaffolding for
this project. Here is what my routes.rb looks like:

ActionController::Routing::Routes.draw do |map|

  map.resource :content
  map.resource :weblink
  map.connect ':controller/:action/:id'
  map.connect ':controller/:action/:id.:format'
end

After doing a view-source on my form before submission, here's what I
found:

<form action="/content.%23%3Ccontent:0x373ac10%3E"
class="edit_content" id="edit_content_2" method="post"><div
style="margin:0;padding:0;display:inline"><input name="_method"
type="hidden" value="put" /><input name="authenticity_token"
type="hidden" value="2KH+rzW8Xy68gwDdjceXEqJH2aM69PdV44Hx0UVbooA=" />



On Feb 23, 12:01 pm, Michael Pavling <[email protected]> wrote:
> On 23 February 2010 16:09, Jeff <[email protected]> wrote:
>
> > What does your routes.rb file look like?
>
> +1

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to