mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-19 13:19:39 +02:00
Add rake task for creating invite codes
This commit is contained in:
parent
b3a792c47d
commit
6a4ab5664d
2 changed files with 6 additions and 0 deletions
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
|
Loading…
Add table
Add a link
Reference in a new issue