mirror of
https://github.com/vale981/Vulcan
synced 2025-03-10 20:46:40 -04:00
19 lines
No EOL
360 B
JavaScript
19 lines
No EOL
360 B
JavaScript
|
|
Meteor.startup(function () {
|
|
|
|
Router.map(function() {
|
|
|
|
this.route('campaign', {
|
|
where: 'server',
|
|
path: '/campaign/:id?',
|
|
action: function() {
|
|
var campaignId = parseInt(this.params.id);
|
|
var htmlContent = buildCampaign(2);
|
|
this.response.write(htmlContent);
|
|
this.response.end();
|
|
}
|
|
});
|
|
|
|
});
|
|
|
|
}); |