Neeraj Kumar
2005-Nov-07 15:48 UTC
Typo code review question: where is the mapping between .rhtml and the layout for admin
For the admin page the structure is like this. ~/app/views/admin/general/index.rhtml The layout structure is like this: ~/app/views/layout/administration.rhtml I couldn''t find where this mapping is mentioned? Thanks. -=- Neeraj _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
Duane Johnson
2005-Nov-07 21:26 UTC
Re: Typo code review question: where is the mapping between .rhtml and the layout for admin
Look at the Admin::BaseController. All controllers within the Admin module inherit from it. Duane Johnson (canadaduane) On Nov 7, 2005, at 8:48 AM, Neeraj Kumar wrote:> For the admin page the structure is like this. > > ~/app/views/admin/general/index.rhtml > > The layout structure is like this: > > ~/app/views/layout/administration.rhtml > > > I couldn''t find where this mapping is mentioned? > > Thanks. > -=- Neeraj > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails