The rails engines site (which is a wiki) should be your first port of call:
http://rails-engines.org If you feel any documentation is lacking, please do insert some there. The primary source of documentation for engines lies within the engines themselves in the form of rdoc (which you can generate using rake engine_doc), and is also available at http://api.rails-engines.org/ - james On 1/30/06, Jonathan Waddilove <[EMAIL PROTECTED]> wrote: > James Adam wrote: > > - James, Great, just what I needed to know as well.... > > Do you have a Wiki (or something) where these snips are documented, I > (and I'm sure others) would be happy to help. > > - Jonathan > > > Or alternatively, use the code-mixing feature. Create your own layout > > in /app/views/layouts/whatever.rhtml, and then if you want it to be > > used everywhere, set it in your /app/controllers/application.rb file. > > If you want to be able to use your custom layout on only specific > > controllers from within an engine, just create the correctly-named > > controller in your /app/controllers directory, i.e. > > > > /app/controllers/user_controller.rb > > > > class UserController < ApplicationController > > layout :whatever > > end > > > > ... it should be that easy. > > > > - james > > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > engine-users mailing list > [email protected] > http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org > _______________________________________________ engine-users mailing list [email protected] http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org
