diff options
author | Xavier Noria <fxn@hashref.com> | 2011-07-23 12:14:10 +0200 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2011-07-23 12:14:10 +0200 |
commit | 38310ab1a6f559860e25b0e28bef9560bb452ae6 (patch) | |
tree | 7bba14b20d2870d8aebd3b6f52f458a77e6787b6 /railties/lib/rails/engine.rb | |
parent | 2db9a7e930f44aeeda175458a475911c2fa33f40 (diff) | |
download | rails-38310ab1a6f559860e25b0e28bef9560bb452ae6.tar.gz rails-38310ab1a6f559860e25b0e28bef9560bb452ae6.tar.bz2 rails-38310ab1a6f559860e25b0e28bef9560bb452ae6.zip |
little details seen while doing a pass through what's new in docrails
Diffstat (limited to 'railties/lib/rails/engine.rb')
-rw-r--r-- | railties/lib/rails/engine.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/railties/lib/rails/engine.rb b/railties/lib/rails/engine.rb index b5b4c2becc..cb897e94d7 100644 --- a/railties/lib/rails/engine.rb +++ b/railties/lib/rails/engine.rb @@ -5,7 +5,7 @@ require 'rbconfig' require 'rails/engine/railties' module Rails - # Rails::Engine allows you to wrap a specific Rails application or subset of + # <tt>Rails::Engine</tt> allows you to wrap a specific Rails application or subset of # functionality and share it with other applications. Since Rails 3.0, every # <tt>Rails::Application</tt> is just an engine, which allows for simple # feature and application sharing. @@ -176,6 +176,7 @@ module Rails # == Engine name # # There are some places where an Engine's name is used: + # # * routes: when you mount an Engine with <tt>mount(MyEngine::Engine => '/my_engine')</tt>, # it's used as default :as option # * some of the rake tasks are based on engine name, e.g. <tt>my_engine:install:migrations</tt>, |