You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
akzhan edited this page Aug 23, 2011
·
4 revisions
As long as rails_admin routes are loaded after your routes, If you have a route that can match /admin for example /:user, you have to add a constrain in that route.
I resolve the problem by this way.
resources:profiles,:path=>'',:constraints=>lambda{ |req| !(req.path =~ /\A\/admin(\/.*)?\z/)}do
...
end