Permalink
Browse files

Move finish_template as the last public method in the generator

  • Loading branch information...
1 parent f4fc9e6 commit 87628654f038893f3a3e4295dc641df63c115852 @mehlah mehlah committed Jan 8, 2014
Showing with 4 additions and 4 deletions.
  1. +4 −4 railties/lib/rails/generators/rails/app/app_generator.rb
@@ -226,16 +226,16 @@ def create_vendor_files
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

0 comments on commit 8762865

Please sign in to comment.