Browse Source

Copy templates before migrations

Chris Oliver 6 years ago
parent
commit
82f669f951
1 changed files with 2 additions and 2 deletions
  1. 2 2
      template.rb

+ 2 - 2
template.rb

@@ -127,6 +127,8 @@ after_bundle do
   add_notifications
   add_notifications
   add_multiple_authentication
   add_multiple_authentication
 
 
+  copy_templates
+
   # Migrate
   # Migrate
   rails_command "db:create"
   rails_command "db:create"
   rails_command "db:migrate"
   rails_command "db:migrate"
@@ -134,8 +136,6 @@ after_bundle do
   # Migrations must be done before this
   # Migrations must be done before this
   add_administrate
   add_administrate
 
 
-  copy_templates
-
   git :init
   git :init
   git add: "."
   git add: "."
   git commit: %Q{ -m 'Initial commit' }
   git commit: %Q{ -m 'Initial commit' }