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

--

You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=.


Reply via email to