refactor this so we can use it everywhere
authorDavid A. Cuadrado <krawek@gmail.com>
Tue, 14 Jun 2011 06:58:51 +0000 (01:58 -0500)
committerDavid A. Cuadrado <krawek@gmail.com>
Tue, 14 Jun 2011 06:58:51 +0000 (01:58 -0500)
commit27bdcaa6629eb8bb6a5167a26fe15fc9f6ec4bf1
tree17b7aec173fa09e6f1ed86d2fdb583f843ddc354
parentcbd2754a7ace35d48503efcaa0feda815c43dc07
refactor this so we can use it everywhere

Signed-off-by: David A. Cuadrado <krawek@gmail.com>
public/javascripts/app/modules/authentication.js