[#887] filter user dossier list

This commit is contained in:
Tanguy PATTE 2015-09-24 11:45:28 +02:00
parent a30eac41fc
commit c1b71b1b54
2 changed files with 4 additions and 2 deletions

View file

@ -1,7 +1,7 @@
class Users::DossiersController < UsersController
before_action :authenticate_user!
def index
@dossiers = Dossier.all.decorate
@dossiers = current_user.dossiers.decorate
end
def show