I'm building a CMS. It works great, but I wanted to make the
controllers use a sub directory /admin/. So all I did was add admin::
in front of each controller.
It works. But since I did that, the only way to show a page is by
going to:
/admin/pages/show/1
NOT
admin/pages/1
If I go to "admin/pages/1" I get this error:
Unknown action
No action responded to 1. Actions: create, destroy, edit, index, new,
show, show_slug, and update