0
0
Fork 0

Fix haml-lint InstanceVariables rule for invites/_form (#26064)

This commit is contained in:
Matt Jankowski 2023-09-28 09:40:28 -04:00 committed by GitHub
parent 1da3c588ca
commit e6b903b21e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 29 additions and 20 deletions

View file

@ -0,0 +1,11 @@
# frozen_string_literal: true
module InvitesHelper
def invites_max_uses_options
[1, 5, 10, 25, 50, 100]
end
def invites_expires_options
[30.minutes, 1.hour, 6.hours, 12.hours, 1.day, 1.week]
end
end