aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorMehdi Lahmam <mehdi@craftsmen.io>2014-01-08 19:51:05 +0100
committerMehdi Lahmam <mehdi@craftsmen.io>2014-01-08 19:51:05 +0100
commit87628654f038893f3a3e4295dc641df63c115852 (patch)
tree75e044ba4c3b1da1563a295b741f2e70615964bc /railties
parentf4fc9e65ed4d51c50ff117ea337206a11b463eeb (diff)
downloadrails-87628654f038893f3a3e4295dc641df63c115852.tar.gz
rails-87628654f038893f3a3e4295dc641df63c115852.tar.bz2
rails-87628654f038893f3a3e4295dc641df63c115852.zip
Move finish_template as the last public method in the generator
Diffstat (limited to 'railties')
-rw-r--r--railties/lib/rails/generators/rails/app/app_generator.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/railties/lib/rails/generators/rails/app/app_generator.rb b/railties/lib/rails/generators/rails/app/app_generator.rb
index e12ee3c713..d2eca5b2fb 100644
--- a/railties/lib/rails/generators/rails/app/app_generator.rb
+++ b/railties/lib/rails/generators/rails/app/app_generator.rb
@@ -226,16 +226,16 @@ module Rails
build(:vendor)
end
- def finish_template
- build(:leftovers)
- end
-
def delete_js_folder_skipping_javascript
if options[:skip_javascript]
remove_dir 'app/assets/javascripts'
end
end
+ def finish_template
+ build(:leftovers)
+ end
+
public_task :run_bundle
public_task :replay_template
public_task :generate_spring_binstubs