Fixed @ scope problem.
This commit is contained in:
parent
e0b1d2c5a9
commit
545ef60bdd
1 changed files with 2 additions and 2 deletions
|
@ -90,7 +90,7 @@ class Verify extends App.Controller
|
|||
error: @render_failed
|
||||
)
|
||||
|
||||
render_success: ->
|
||||
render_success: =>
|
||||
configure_attributes = [
|
||||
{ name: 'password', display: 'Password', tag: 'input', type: 'password', limit: 100, null: false, class: 'input span4', },
|
||||
]
|
||||
|
@ -103,7 +103,7 @@ class Verify extends App.Controller
|
|||
autofocus: true
|
||||
)
|
||||
|
||||
render_failed: ->
|
||||
render_failed: =>
|
||||
@html App.view('generic/hero_message')(
|
||||
head: 'Failed!'
|
||||
message: 'Token is not valid!'
|
||||
|
|
Loading…
Reference in a new issue