Created
January 15, 2015 16:07
-
-
Save digilord/fde5e51ebf374709422b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
adminSub = Meteor.subscribe 'adminViews' | |
Router.map -> | |
@route 'admin', | |
path: '/admin' | |
layoutTemplate: 'adminLayoutTemplate' | |
action: -> | |
@wait adminSub | |
@render 'admin' | |
data: -> | |
return AdminViews.find({}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment