mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-20 17:36:22 +00:00
Merge branch 'issue-12754' into panel.sutty.nl
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
commit
cc412ad27b
1 changed files with 1 additions and 1 deletions
|
@ -165,7 +165,7 @@ class UsuariesController < ApplicationController
|
|||
end
|
||||
|
||||
def invite_as
|
||||
Rol.role?(params[:invite_as].singularize) ? params[:invite_as] : Rol::INVITADE.pluralize
|
||||
Rol.role?(params[:invite_as]&.singularize) ? params[:invite_as] : Rol::INVITADE.pluralize
|
||||
end
|
||||
|
||||
def site
|
||||
|
|
Loading…
Reference in a new issue