mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-26 22:06:21 +00:00
Merge branch 'issue-12950' into panel.sutty.nl
This commit is contained in:
commit
b219624af5
1 changed files with 3 additions and 1 deletions
|
@ -32,8 +32,10 @@ class ApplicationController < ActionController::Base
|
||||||
return unless current_usuarie
|
return unless current_usuarie
|
||||||
return if current_usuarie.confirmed?
|
return if current_usuarie.confirmed?
|
||||||
|
|
||||||
|
I18n.with_locale(current_usuarie.lang) do
|
||||||
flash[:notice] ||= I18n.t('devise.registrations.signed_up')
|
flash[:notice] ||= I18n.t('devise.registrations.signed_up')
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
|
||||||
def uuid?(string)
|
def uuid?(string)
|
||||||
/[a-f0-9]{8}-([a-f0-9]{4}-){3}[a-f0-9]{12}/ =~ string
|
/[a-f0-9]{8}-([a-f0-9]{4}-){3}[a-f0-9]{12}/ =~ string
|
||||||
|
|
Loading…
Reference in a new issue