demarches-normaliennes/app/controllers/backoffice_controller.rb

11 lines
234 B
Ruby
Raw Normal View History

2015-09-22 10:15:12 +02:00
class BackofficeController < ApplicationController
def index
if !gestionnaire_signed_in?
redirect_to(controller: '/gestionnaires/sessions', action: :new)
else
redirect_to(:backoffice_dossiers)
end
2015-09-22 10:15:12 +02:00
end
2017-04-04 15:27:04 +02:00
end