Browse files

#1 Fix incorrect project title during confirmation

The previously used #project_title method at this
point always returns "lingohub_ruby". This is
obviously not correct, and will have to be fixed
as well. This commit just makes sure that we don't
confuse the other with having to enter a wrong
project name. Also it seems to me that it's totally
fine to actually just use project.title in there
  • Loading branch information...
1 parent c44ccb3 commit 07974dcd0c7e64b5570b96aaf2138c4e703e1771 @snusnu snusnu committed Mar 14, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/lingohub/commands/project.rb
@@ -54,8 +54,8 @@ def destroy
display "Web URL: #{project.weburl}"
display "Owner: #{project.owner}"
- if confirm_command(project_title)
- redisplay "Destroying #{project_title} ... "
+ if confirm_command(project.title)
+ redisplay "Destroying #{project.title} ... "
display "done"

0 comments on commit 07974dc

Please sign in to comment.