How can I get cancan to lookup activerecords when I'm using the has_permalink gem?
If I access a url by it's has_permalink ID, example - articles/my-article-name/edit I get an error saying it can't find an article with that ID but when I access the article using the ID number it works fine.
How can I get cancan to lookup activerecords when I'm using the has_permalink gem?
If I access a url by it's has_permalink ID, example - articles/my-article-name/edit I get an error saying it can't find an article with that ID but when I access the article using the ID number it works fine.