mirror of
https://github.com/vale981/Vulcan
synced 2025-03-09 12:16:37 -04:00
31 lines
No EOL
573 B
JavaScript
31 lines
No EOL
573 B
JavaScript
Meteor.startup(function (){
|
|
|
|
// Settings
|
|
|
|
Router.route('/settings', {
|
|
name: 'settings',
|
|
template: getTemplate('settings'),
|
|
data: function () {
|
|
// we only have one set of settings for now
|
|
return {
|
|
hasSettings: !!Settings.find().count(),
|
|
settings: Settings.findOne()
|
|
}
|
|
}
|
|
});
|
|
|
|
// Loading (for testing purposes)
|
|
|
|
Router.route('/loading', {
|
|
name: 'loading',
|
|
template: getTemplate('loading')
|
|
});
|
|
|
|
// Toolbox
|
|
|
|
Router.route('/toolbox', {
|
|
name: 'toolbox',
|
|
template: getTemplate('toolbox')
|
|
});
|
|
|
|
}); |