Remove a now useless flash message

This commit is contained in:
gregoirenovel 2018-03-29 15:09:53 +02:00 committed by Mathieu Magnin
parent 44c0812dde
commit 3a3afc5797

View file

@ -12,10 +12,6 @@ class RootController < ApplicationController
return redirect_to manager_root_path return redirect_to manager_root_path
end 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://demarches-simplifiees.gitbook.io/demarches-simplifiees/changement-de-nom' target='_blank' rel='noopener noreferrer'>en savoir plus</a>."]
end
render 'landing' render 'landing'
end end