Fixed route.

This commit is contained in:
Martin Edenhofer 2012-11-11 23:45:12 +01:00
parent fe769e3b93
commit cb2c884248

View file

@ -65,14 +65,14 @@ App.Config.set( 'reset_password', Index, 'Routes' )
class Verify extends App.Controller class Verify extends App.Controller
className: 'container' className: 'container'
events: events:
'submit form': 'submit', 'submit form': 'submit',
'click .submit': 'submit', 'click .submit': 'submit',
constructor: -> constructor: ->
super super
# set title # set title
@title 'Reset Password' @title 'Reset Password'
@navupdate '#reset_password_verify' @navupdate '#reset_password_verify'
@ -137,4 +137,4 @@ class Verify extends App.Controller
message: 'Ask your admin!', message: 'Ask your admin!',
); );
App.Config.set( 'reset_password_verify/:token', Verify, 'Routes' ) App.Config.set( 'password_reset_verify/:token', Verify, 'Routes' )