wingedmonkey/wingedmonkey — pull request #45 by jtomasek (2012-12-03 10:40:09+00:00)
Title: Provider select tweaks

Added login, logout routes, to switch provider do the logout (erase current provider session) and redirect to login page

Provider select works with or without javascript

In sessions#new the provider select form is submitted as javascript by default
using rails's remote => true. The providers#select action is executed and only the
apropriate provider_login_form is rendered. (No page reload, just the partial.)
If javascript is off, the submit button appears next to provider select, and form
is submitted normally and providers#select redirects to login page