Permalink
Browse files

Merge pull request #13637 from craftsmen/app-generator-minor-fix

Move finish_template as the last public method defined in the generator
  • Loading branch information...
2 parents 6525182 + 8762865 commit e4e750ba1a82c88aed492329c3e024efa07c43d0 @rafaelfranca rafaelfranca committed Jan 8, 2014
Showing with 4 additions and 4 deletions.
  1. +4 −4 railties/lib/rails/generators/rails/app/app_generator.rb
View
8 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 e4e750b

Please sign in to comment.