From b0aa731b924174fa79e34db45ecf3bb22b17dc2b Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Wed, 28 Oct 2015 10:42:06 +0100 Subject: [PATCH] Show recent created users after adding one. --- app/assets/javascripts/app/controllers/users.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/app/assets/javascripts/app/controllers/users.coffee b/app/assets/javascripts/app/controllers/users.coffee index 7cb4dc376..bf435e9c5 100644 --- a/app/assets/javascripts/app/controllers/users.coffee +++ b/app/assets/javascripts/app/controllers/users.coffee @@ -178,6 +178,7 @@ class Index extends App.Controller navupdate: '#users' genericObject: 'User' container: @el.closest('.content') + callback: @recent ) App.Config.set( 'User', { prio: 1000, name: 'Users', parent: '#manage', target: '#manage/users', controller: Index, role: ['Admin'] }, 'NavBarAdmin' ) \ No newline at end of file