Skip to content

Commit

Permalink
Build the root folder before specific files
Browse files Browse the repository at this point in the history
Fixes #31282.
  • Loading branch information
rafaelfranca committed Nov 29, 2017
1 parent 9d6e288 commit 1bee2fb
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions railties/lib/rails/generators/rails/app/app_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,14 @@ def create_public_files
build(:public_directory)
end

def create_tmp_files
build(:tmp)
end

def create_vendor_files
build(:vendor)
end

def create_test_files
build(:test) unless options[:skip_test]
end
Expand All @@ -360,14 +368,6 @@ def create_storage_files
build(:storage) unless skip_active_storage?
end

def create_tmp_files
build(:tmp)
end

def create_vendor_files
build(:vendor)
end

def delete_app_assets_if_api_option
if options[:api]
remove_dir "app/assets"
Expand Down

0 comments on commit 1bee2fb

Please sign in to comment.