Closed bighuggies closed 11 years ago
@bighuggies Do we want this in the navbar? Just clarifying before I start it because it will determine which controller to put it in.
Also when you get redirected to the index of patients and try go back you keep getting pushed back to the patients index? Is this the behavior that we want or would we rather auto log out when trying to go going "back" from the patient index to the login.
Perhaps we don't have a log out button, instead a nav bar drop down so you can change department from any page.
Otherwise the log out button should go in the nav bar.
I don't know about going back - both make sense in different ways. The current behaviour is the easiest though. On 20/05/2013 11:02 AM, "Dave Carpenter" notifications@github.com wrote:
@bighuggies https://github.com/bighuggies Do we want this in the navbar? Just clarifying before I start it because it will determine which controller to put it in.
Also when you get redirected to the index of patients and try go back you keep getting pushed back to the patients index? Is this the behavior that we want or would we rather auto log out when trying to go going "back" from the patient index to the login.
— Reply to this email directly or view it on GitHubhttps://github.com/jcgharvey/vsm-svr/issues/31#issuecomment-18126463 .
Done
Delete 'department' cookie, redirect to '/', should be pretty easy