diff options
Diffstat (limited to 'railties/lib/generator/generators/app.rb')
-rw-r--r-- | railties/lib/generator/generators/app.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/railties/lib/generator/generators/app.rb b/railties/lib/generator/generators/app.rb index 6a7edc5934..a9da54b67e 100644 --- a/railties/lib/generator/generators/app.rb +++ b/railties/lib/generator/generators/app.rb @@ -167,6 +167,10 @@ module Rails::Generators empty_directory "vendor/plugins" end + def apply_rails_template + apply options[:template] if options[:template] + end + def freeze? freeze! if options[:freeze] end |