Skip to content

Commit

Permalink
Change admin generator instructions for DM to auto:upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
nesquena committed Jun 11, 2011
1 parent 6e94687 commit 67606df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion padrino-admin/lib/padrino-admin/generators/admin_app.rb
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def create_admin

instructions = []
instructions << "Run 'padrino rake ar:migrate'" if orm == :activerecord
instructions << "Run 'padrino rake dm:migrate'" if orm == :datamapper
instructions << "Run 'padrino rake dm:auto:upgrade'" if orm == :datamapper
instructions << "Run 'padrino rake seed'"
instructions << "Visit the admin panel in the browser at '/admin'"
instructions.map! { |i| " #{instructions.index(i) + 1}) #{i}" }
Expand Down

0 comments on commit 67606df

Please sign in to comment.