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
One of my models in my app is called "Page", and that gives me trouble. I see nothing different with this model form the
others I have, except for its name. I'm now guessing that the "Page" name conflicts with a name or a route inside of AA.
I get the index view for Page, but the "View" and "Edit" links both result in routing errors, such as:
I tried to reproduce this with Rails 3.2.6 and active_admin 0.4.4 and didn't find any error. I created the model Page with one attribute. Created a record, edited and viewed it through active_admin. If it is necessary I can create a repo on github with the code.
Please close this issue.
Quoted from my email to the list:
One of my models in my app is called "Page", and that gives me trouble. I see nothing different with this model form the
others I have, except for its name. I'm now guessing that the "Page" name conflicts with a name or a route inside of AA.
I get the index view for Page, but the "View" and "Edit" links both result in routing errors, such as:
No route matches {:action=>"edit", :controller=>"admin/pages", :id=>#<Page id: 1, user_id: 1, domain: "robert.se", created_at: "2011-11-16 20:43:36", updated_at: "2011-11-27 09:03:47", [etc etc etc]}
The URL looks fine ("/admin/pages/1") but the error is always the same.
I am running activeadmin gem version 0.3.4.
The text was updated successfully, but these errors were encountered: