I'm just trying to set up a admin panel like always so I added this to my routes.rb: map.namespace :admin do |admin| admin.root :controller => "products" end
But 2.1.0 doesnt seem to like it. It throws an exception: ActionController::MethodNotAllowed
Only get, head, post, put, and delete requests are allowed.
Does anyone have a clue how I'm supposed to write it?