ydt
Not a member
ydt's latest activity
Friday, February 04 2011
6371
request.post? doesn't work
was updated
in Ruby on Rails
-
ydt commented at 10:31 AMError, it's my fault, it is a PUT request, but request.method is contain POST...
-
ydt created the ticket at 10:18 AMOn Rails 3.0.3
routes.rb :
resources :albums do
member domatch 'dispatch' => 'albums#dispatch', :via => [:get, :post]end end
album controller :
def dispatch
...