I'm using the has_permalink gem with cancan and devise. I've setup role based permissions for admins to be able to manage evenything in an admin namespace. When trying to edit an article by accessing the URL - /admin/articles/test-article/edit, I get the following error
ActiveRecord::RecordNotFound in Admin::ArticlesController#edit
Couldn't find Article with id=test-article
However, accessing the URL as follows works - /admin/articles/10/edit
How do I get cancan to recognize that the articles use the permalink as their id?
Nevermind, I didn't read the entire wiki :)