This project is archived and is in readonly mode.
Changeset [8d47078a492de9e3fca61ec6894e975d570ef449] by José Valim
Revision 8d47078a492de9e3fca61ec6894e975d570ef449,
committed by José Valim
· July 15th, 2009 @ 09:37 PM
Added source_paths to rails generators. If a template is added to RAILS_ROOT/lib/templates/base/generator it will be used. For example, to customize edit.html.erb template on scaffold, just add a customized copy at RAILS_ROOT/lib/templates/erb/scaffold. http://github.com/rails/rails/co...
3 changed files
-
M
railties/lib/generators/base.rb -
M
railties/lib/vendor/thor-0.11.1/lib/thor/actions.rb -
M
railties/test/generators_test.rb