3e55d7ba3b
- Add routes 'uses/dossiers/?liste=xxx' to reach at file lists for user
10 lines
No EOL
233 B
Ruby
10 lines
No EOL
233 B
Ruby
class BackofficeController < ApplicationController
|
|
|
|
def index
|
|
if !gestionnaire_signed_in?
|
|
redirect_to(controller: '/gestionnaires/sessions', action: :new)
|
|
else
|
|
redirect_to(:backoffice_dossiers)
|
|
end
|
|
end
|
|
end |