Blame view
client/controllers/authenticated/header.coffee
481 Bytes
39a8af161
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
### Controller: Header Template: /client/includes/_header.html ### # Created Template.header.created = -> # Code to run when template is created goes here. # Rendered Template.header.rendered = -> # Code to run when template is rendered goes here. # Helpers Template.header.helpers( example: -> # Code to run for helper function. ) # Events Template.header.events( 'click .logout': (e,t) -> Meteor.logout((error)-> alert error.reason if error ) ) |