Hello there,
I have been thinking about this for some time now, but I am not
experienced enough using Rails to solve the Problem on my own.
I have a Rails application that has an admin section, from where you
can, well, administer the whole thing.
I have CRUD functionality for several data structures there. So the
controller is getting big, and I don''t want that,
but I feel I have no choice, as I want to keep the Admin section in
one place, something like /admin/.
So what I am looking for is something like subcategories of a
controller, or sub-controllers perhaps?
I have the two Models ''News'' and ''Faqs'' for
example, and I want to
access their CRUD functionality under
/admin/faqs/ and /admin/news/, something like this: /admin/news/edit/1
Is this possible at all?
If not, how would you do it?
Thanks,
Philipp
--
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety." Benjamin Franklin
http://www.filzip.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: Signierter Teil der Nachricht
Url :
http://wrath.rubyonrails.org/pipermail/rails/attachments/20060515/a06bf77e/PGP.bin