Using ember-simple-auth redirecting

Hi I am using ember-simple-auth for login everything is working good response from server is good and login is fine, but only thing is i am unable to redirect to dashboard page after login it remains in same page can anyone help me!

Thanks In Advance

You can useENV[‘ember-simple-auth’] = { authenticationRoute: ‘login’, routeAfterAuthentication: ‘index’, routeIfAlreadyAuthenticated: ‘index’ };`

thanks for you reply here is a link where i got my code for emberjs Using Ember Simple Auth 1.0 with Devise

after this i should be redirected to dashboard page

can you help me out

you can follow this link https://github.com/simplabs/ember-simple-auth/issues/810