Fixed @ scope problem.

This commit is contained in:
Martin Edenhofer 2012-11-12 00:07:43 +01:00
parent e0b1d2c5a9
commit 545ef60bdd

View file

@ -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!'