2015-09-22 10:15:12 +02:00
|
|
|
class BackofficeController < ApplicationController
|
|
|
|
|
|
|
|
def index
|
2015-11-10 11:58:56 +01:00
|
|
|
if !gestionnaire_signed_in?
|
|
|
|
redirect_to(controller: '/gestionnaires/sessions', action: :new)
|
|
|
|
else
|
2015-11-13 15:23:21 +01:00
|
|
|
redirect_to(:backoffice_dossiers_a_traiter)
|
2015-11-10 11:58:56 +01:00
|
|
|
end
|
2015-09-22 10:15:12 +02:00
|
|
|
end
|
|
|
|
end
|