Fixed route.
This commit is contained in:
parent
fe769e3b93
commit
cb2c884248
1 changed files with 3 additions and 3 deletions
|
@ -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' )
|
||||||
|
|
Loading…
Reference in a new issue