Leave your answer in the comments!
Given this routes file:
Omg::Application.routes.draw do
match ':controller(/:action(/:id(.:format)))'
end
And these controllers:
module Admin
class UserController < ActionController::Base
def show
end
end
end
class AdminController < ActionController::Base
def show
end
end
class Products < ActionController::Base
def show
end
end
What controller do these urls route to?
/products/show/10
/products/show
/admin/user/show/10
/admin/user/show
Isn't the AdminController missing the user action? (Like here: https://github.com/tenderlove/lolwut/blob/master/app/controllers/admin_controller.rb)