I have my root route
root :to => 'home#index'
which is for my home controller, and if I visit http://localhost:3000/ , everything works fine, I find the correct home controller and index action. Then I installed this gem rails_admin But when I visit http://localhost:3000/admin , I find the method in my application controller
rescue_from CanCan::AccessDenied do |exception| redirect_to root_path, :alert => exception.message end
and get this error, how is it possible that now I have a routing error ... any idea
Routing Error No route matches {:controller=>"home"}
source share