5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-26 19:46:23 +00:00

Merge branch 'issue-12950' into panel.sutty.nl

This commit is contained in:
f 2023-04-04 13:34:40 -03:00
commit b219624af5

View file

@ -32,8 +32,10 @@ class ApplicationController < ActionController::Base
return unless current_usuarie
return if current_usuarie.confirmed?
I18n.with_locale(current_usuarie.lang) do
flash[:notice] ||= I18n.t('devise.registrations.signed_up')
end
end
def uuid?(string)
/[a-f0-9]{8}-([a-f0-9]{4}-){3}[a-f0-9]{12}/ =~ string