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