Warn of name change on the landing page
This commit is contained in:
parent
67da280fa0
commit
b784036a12
1 changed files with 4 additions and 0 deletions
|
@ -12,6 +12,10 @@ class RootController < ApplicationController
|
|||
return redirect_to manager_root_path
|
||||
end
|
||||
|
||||
if Date.today < Date.new(2018, 03, 31)
|
||||
flash.now.notice = ["Téléprocédures Simplifiées change de nom et devient demarches-simplifiees.fr, <a href='https://tps.gitbooks.io/tps-documentation/content/changement-de-nom.html' target='_blank'>en savoir plus</a>."]
|
||||
end
|
||||
|
||||
render 'landing'
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue