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 --~--~---------~--~----~------------~-------~--~----~ 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-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
what resource your ''administrator controller'' revolves around? what actions it contains? On Jun 4, 12:56 pm, Tarscher <tarsc...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> 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--~--~---------~--~----~------------~-------~--~----~ 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-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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 On 4 jun, 14:30, liquidautumn <d...-PfseE6/LE5QxpvK4C0GaPQ@public.gmane.org> wrote:> what resource your ''administrator controller'' revolves around? > what actions it contains? > On Jun 4, 12:56 pm,Tarscher<tarsc...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > 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--~--~---------~--~----~------------~-------~--~----~ 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-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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. On Jun 4, 3:51 pm, Tarscher <tarsc...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> 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 > > On 4 jun, 14:30, liquidautumn <d...-PfseE6/LE5QxpvK4C0GaPQ@public.gmane.org> wrote: > > > what resource your ''administrator controller'' revolves around? > > what actions it contains? > > On Jun 4, 12:56 pm,Tarscher<tarsc...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > 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--~--~---------~--~----~------------~-------~--~----~ 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-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---