1
0
mirror of https://github.com/fazo96/markcloud.git synced 2025-01-10 11:04:21 +01:00
This commit is contained in:
Enrico Fasoli 2014-10-08 21:50:29 +02:00
parent ce757fedbf
commit f742c2ba8b

View File

@ -6,7 +6,7 @@ amIValid = ->
return yes for mail in Meteor.user().emails when mail.verified is yes; no return yes for mail in Meteor.user().emails when mail.verified is yes; no
UI.registerHelper 'mail', -> UI.registerHelper 'mail', ->
if Meter.user().emails then Meteor.user().emails[0].address if Meteor.user().emails then Meteor.user().emails[0].address
UI.registerHelper 'amIValid', amIValid UI.registerHelper 'amIValid', amIValid
Router.configure Router.configure