mirror of
https://github.com/vale981/Vulcan
synced 2025-03-06 18:11:40 -05:00
31 lines
No EOL
577 B
JavaScript
31 lines
No EOL
577 B
JavaScript
Meteor.startup(function (){
|
|
|
|
// Settings
|
|
|
|
Router.route('/settings', {
|
|
name: 'settings',
|
|
template: getTemplate('settingsForm'),
|
|
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')
|
|
});
|
|
|
|
}); |