Merge branch 'master' of https://github.com/fetsite/fetsite
This commit is contained in:
@@ -11,7 +11,10 @@
|
|||||||
flash.now[:notice]= "#{params[:locale]} translation not available"
|
flash.now[:notice]= "#{params[:locale]} translation not available"
|
||||||
logger.error flash.now[:notice]
|
logger.error flash.now[:notice]
|
||||||
end
|
end
|
||||||
|
else
|
||||||
|
I18n.locale = session[:locale] || :de
|
||||||
end
|
end
|
||||||
|
session[:locale] = I18n.locale
|
||||||
end
|
end
|
||||||
|
|
||||||
def after_sign_in_path_for(resource)
|
def after_sign_in_path_for(resource)
|
||||||
|
|||||||
Reference in New Issue
Block a user