From cb2c884248aa924094d6f5c2b1974ff16e83d347 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Sun, 11 Nov 2012 23:45:12 +0100 Subject: [PATCH] Fixed route. --- .../javascripts/app/controllers/reset_password.js.coffee | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/assets/javascripts/app/controllers/reset_password.js.coffee b/app/assets/javascripts/app/controllers/reset_password.js.coffee index c2f9e2dbc..7af2b22a0 100644 --- a/app/assets/javascripts/app/controllers/reset_password.js.coffee +++ b/app/assets/javascripts/app/controllers/reset_password.js.coffee @@ -65,14 +65,14 @@ App.Config.set( 'reset_password', Index, 'Routes' ) class Verify extends App.Controller className: 'container' - + events: 'submit form': 'submit', 'click .submit': 'submit', constructor: -> super - + # set title @title 'Reset Password' @navupdate '#reset_password_verify' @@ -137,4 +137,4 @@ class Verify extends App.Controller message: 'Ask your admin!', ); -App.Config.set( 'reset_password_verify/:token', Verify, 'Routes' ) +App.Config.set( 'password_reset_verify/:token', Verify, 'Routes' )