Forum: Ruby on Rails restful design - make everything restful?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Tarscher (Guest)
on 2007-06-04 13:57
(Received via mailing list)
hi all,

I want to have a administrator view where users can be altered, site
structures can be changed, layout can be defined, ...

I can perfectly see how to define a restful user, sitestructure and
layout controller but how can an administator controller be build in a
restful way? Do you make all your controllers restful or only a
selection?

Regards,
Stijn
liquidautumn (Guest)
on 2007-06-04 16:31
(Received via mailing list)
what resource your 'administrator controller' revolves around?
what actions it contains?
Tarscher (Guest)
on 2007-06-04 16:52
(Received via mailing list)
It will use the User, Structure and Layout resource. They all have
their own restfull controller but I also want to centralize them in an
administrator view
liquidautumn (Guest)
on 2007-06-04 17:26
(Received via mailing list)
I think if you need kind of dashboard, aggregating info for different
resources it's ok to have unrestful controller, but all operations on
specific resource should go to corresponding controller.
This topic is locked and can not be replied to.