fixed rake task wording
This commit is contained in:
parent
e22dd08f75
commit
8ff2be24f2
4
Rakefile
4
Rakefile
|
@ -100,7 +100,7 @@ namespace :justask do
|
||||||
fail "user #{args[:screen_name]} not found" if user.nil?
|
fail "user #{args[:screen_name]} not found" if user.nil?
|
||||||
user.supporter = true
|
user.supporter = true
|
||||||
user.save!
|
user.save!
|
||||||
puts "#{user.screen_name} is now an moderator."
|
puts "#{user.screen_name} is now an supporter."
|
||||||
end
|
end
|
||||||
|
|
||||||
desc "Removes supporter status from an user."
|
desc "Removes supporter status from an user."
|
||||||
|
@ -110,7 +110,7 @@ namespace :justask do
|
||||||
fail "user #{args[:screen_name]} not found" if user.nil?
|
fail "user #{args[:screen_name]} not found" if user.nil?
|
||||||
user.supporter = false
|
user.supporter = false
|
||||||
user.save!
|
user.save!
|
||||||
puts "#{user.screen_name} no longer an moderator."
|
puts "#{user.screen_name} no longer an supporter."
|
||||||
end
|
end
|
||||||
|
|
||||||
desc "Lists all users."
|
desc "Lists all users."
|
||||||
|
|
Loading…
Reference in New Issue