Yannick Koehler
2005-Sep-22 22:02 UTC
Re: Adding Categories to the Depot example in the Agile Railsbook
Hi Kris, Another way to do this, and that is what I have done so far. note that I am quite new to rails and ruby. Is to use folders. admin/product_controller.rb admin/category_controller.rb etc... To have something at "http://localhost:3000/admin" do this: general_admim_controller.rb have install a route that says ''/admin'', :controller => ''general_admin''. I got this from IRC, it is the way that the Typo software does it as well. -- Yannick Koehler
Andrew Gruner
2005-Sep-23 05:44 UTC
Re: Re: Adding Categories to the Depot example in the Agile Railsbook
Is there a way to generate a controller this way or do you have to get in there and hack at it? -Andrew On 9/22/05, Yannick Koehler <ykoehler-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi Kris, > > Another way to do this, and that is what I have done so far. note > that I am quite new to rails and ruby. Is to use folders. > > admin/product_controller.rb > admin/category_controller.rb > > etc... > > To have something at "http://localhost:3000/admin" do this: > > general_admim_controller.rb > > have install a route that says ''/admin'', :controller => ''general_admin''. > > I got this from IRC, it is the way that the Typo software does it as well. > > -- > Yannick Koehler > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >