2015-09-22 10:15:12 +02:00
|
|
|
class BackofficeController < ApplicationController
|
|
|
|
|
|
|
|
def index
|
|
|
|
redirect_to(controller: '/gestionnaires/sessions', action: :new) unless gestionnaire_signed_in?
|
2015-09-24 18:12:08 +02:00
|
|
|
@dossiers_a_traiter = Dossier.a_traiter.decorate
|
|
|
|
@dossiers_en_attente = Dossier.en_attente.decorate
|
|
|
|
@dossiers_termine = Dossier.termine.decorate
|
2015-09-22 10:15:12 +02:00
|
|
|
end
|
|
|
|
end
|