You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
532 B

пре 4 година
import "/client/templates/loading.html"
пре 4 година
import "/client/templates/user_page.html"
пре 4 година
import "/client/templates/not_found.html"
пре 4 година
Router.configure({
layoutTemplate: 'mainLayout',
loadingTemplate: 'loading',
пре 4 година
notFoundTemplate: 'notFound',
пре 4 година
waitOn: function () {
return Meteor.subscribe("url_res")
}
})
пре 4 година
// Meteor.subscribe('user_res')
пре 4 година
Router.route("/")
Router.route("/nelson", {name: 'mainItem'})
Router.route("/user/:_id", {
пре 4 година
name: 'userPage'
пре 4 година
})
пре 4 година
Router.onBeforeAction('dataNotFound',{only: 'userPage'})