demarches-normaliennes/app/controllers/backoffice_controller.rb

10 lines
233 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
end