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-12-02 18:03:52 +01:00
|
|
|
redirect_to(:backoffice_dossiers)
|
2015-11-10 11:58:56 +01:00
|
|
|
end
|
2015-09-22 10:15:12 +02:00
|
|
|
end
|
|
|
|
end
|