Don't give an error when you access the login page when you are logged in. Instead...
authorShaun McDonald <shaun@shaunmcdonald.me.uk>
Thu, 11 Dec 2008 15:05:53 +0000 (15:05 +0000)
committerShaun McDonald <shaun@shaunmcdonald.me.uk>
Thu, 11 Dec 2008 15:05:53 +0000 (15:05 +0000)
commit814822120a6becb634a22e872094b8fa16c3ea4f
tree3a14ec59d95cf578b81f7e66a48a052380f90d8f
parent8bf0a3197c53b8671f4dcf65855e38d2a2143035
Don't give an error when you access the login page when you are logged in. Instead take you to the page in the referer or the home page.
app/controllers/user_controller.rb