mirror of
https://github.com/we-promise/sure.git
synced 2026-06-03 17:59:05 +00:00
Add rake task for creating invite codes
This commit is contained in:
6
lib/tasks/invites.rake
Normal file
6
lib/tasks/invites.rake
Normal file
@@ -0,0 +1,6 @@
|
||||
namespace :invites do
|
||||
desc "Create an invitation code"
|
||||
task create: :environment do
|
||||
puts InviteCode.generate!
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user