Use mailto in error message
This commit is contained in:
parent
441e123e8a
commit
b60805a54c
2 changed files with 6 additions and 1 deletions
|
@ -8,6 +8,11 @@
|
|||
.alert-danger {
|
||||
background-color: $medium-red;
|
||||
color: #FFFFFF;
|
||||
|
||||
a {
|
||||
color: #FFFFFF;
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
|
||||
.alert-success {
|
||||
|
|
|
@ -16,7 +16,7 @@ class SupportController < ApplicationController
|
|||
redirect_to root_path
|
||||
else
|
||||
setup_context
|
||||
flash.now.alert = "Une erreur est survenue. Vous pouvez nous contactez à #{CONTACT_EMAIL}."
|
||||
flash.now.alert = "Une erreur est survenue. Vous pouvez nous contactez à #{view_context.mail_to(CONTACT_EMAIL)}."
|
||||
|
||||
render :index
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue