Преглед на файлове

Copy templates before migrations

Chris Oliver преди 7 години
родител
ревизия
82f669f951
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      template.rb

+ 2 - 2
template.rb

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