diff options
author | José Valim <jose.valim@gmail.com> | 2010-02-06 17:32:06 +0100 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-02-06 17:32:06 +0100 |
commit | 6958eac1a00a4ab33e3facc70c80a07492288196 (patch) | |
tree | 06df21a64b2111690701b273e121620437afe155 /railties/lib/rails/engine | |
parent | 1d9d9d2d89a90a85f27a1909e3c435c070bc1b40 (diff) | |
download | rails-6958eac1a00a4ab33e3facc70c80a07492288196.tar.gz rails-6958eac1a00a4ab33e3facc70c80a07492288196.tar.bz2 rails-6958eac1a00a4ab33e3facc70c80a07492288196.zip |
Add config.generators.templates to provide alternative paths for template lookup.
Diffstat (limited to 'railties/lib/rails/engine')
-rw-r--r-- | railties/lib/rails/engine/configuration.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/lib/rails/engine/configuration.rb b/railties/lib/rails/engine/configuration.rb index 7d6de91430..93b882f874 100644 --- a/railties/lib/rails/engine/configuration.rb +++ b/railties/lib/rails/engine/configuration.rb @@ -21,6 +21,7 @@ module Rails paths.app.views "app/views" paths.lib "lib", :load_path => true paths.lib.tasks "lib/tasks", :glob => "**/*.rake" + paths.lib.templates "lib/templates" paths.config "config" paths.config.initializers "config/initializers", :glob => "**/*.rb" paths.config.locales "config/locales", :glob => "*.{rb,yml}" |