Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Move finish_template as the last public method in the generator

  • Loading branch information...
commit 87628654f038893f3a3e4295dc641df63c115852 1 parent f4fc9e6
@mehlah mehlah authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.