24z wrote in post #976330:
> Do I have anything special to my Rails 3 routes.rb. It currently looks
> like this:
>
> PutTest::Application.routes.draw do
>
>   controller :put_test do
>     match 'put', :to => :update, :via => [:put]
>   end
> end

Unless my understanding of the Rails 3 routing syntax is complete wrong, 
the above route makes no sense.

Shouldn't it look more like the following?

match 'put_test/update' => 'put_test#update', :via => :put

or the shorthand

put 'put_test/update'

-- 
Posted via http://www.ruby-forum.com/.

-- 
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