Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

26 linhas
532 B

há 4 anos
import "/client/templates/loading.html"
há 4 anos
import "/client/templates/user_page.html"
há 4 anos
import "/client/templates/not_found.html"
há 4 anos
Router.configure({
layoutTemplate: 'mainLayout',
loadingTemplate: 'loading',
há 4 anos
notFoundTemplate: 'notFound',
há 4 anos
waitOn: function () {
return Meteor.subscribe("url_res")
}
})
há 4 anos
// Meteor.subscribe('user_res')
há 4 anos
Router.route("/")
Router.route("/nelson", {name: 'mainItem'})
Router.route("/user/:_id", {
há 4 anos
name: 'userPage'
há 4 anos
})
há 4 anos
Router.onBeforeAction('dataNotFound',{only: 'userPage'})