kinopyo/quoty — pull request #9 by kinopyo (2012-12-14 14:07:44+00:00)
Title: require login js handler: now shows a modal window

![Screen Shot 2012-12-14 at 10 44 18 PM](https://f.cloud.github.com/assets/184520/13307/1ea78bf6-45f7-11e2-9cf6-3bd9d285c56c.png)

![o4](https://f.cloud.github.com/assets/184520/13309/3a969960-45f7-11e2-9dd8-00247acdc6e0.gif)

a little better than just redirect to login page.

But the login process(`sessions#create`) still doesn't support ajax request, so when login fail will redirect to `sessions#new` page.

![Screen Shot 2012-12-14 at 10 53 52 PM](https://f.cloud.github.com/assets/184520/13314/74ce18ec-45f7-11e2-9f33-1758e25f227f.png)