mirror of
https://github.com/Retrospring/retrospring.git
synced 2024-11-20 10:19:52 +01:00
modified Rakefile
This commit is contained in:
parent
5f43155eb5
commit
b407b932ab
1 changed files with 2 additions and 2 deletions
4
Rakefile
4
Rakefile
|
@ -46,7 +46,7 @@ namespace :justask do
|
|||
fail "user #{args[:screen_name]} not found" if user.nil?
|
||||
user.admin = true
|
||||
user.save!
|
||||
puts "#{user.screen_name} is now an admin"
|
||||
puts "#{user.screen_name} is now an admin."
|
||||
end
|
||||
|
||||
desc "Removes admin status from an user."
|
||||
|
@ -56,7 +56,7 @@ namespace :justask do
|
|||
fail "user #{args[:screen_name]} not found" if user.nil?
|
||||
user.admin = false
|
||||
user.save!
|
||||
puts "#{user.screen_name} no longer an admin"
|
||||
puts "#{user.screen_name} no longer an admin."
|
||||
end
|
||||
|
||||
desc "Lists all users."
|
||||
|
|
Loading…
Reference in a new issue