iron-router Questions

1

Solved

I have an Iron-router route with which I would like to receive lat/lng data through an HTTP POST request. This is my attempt: Router.map(function () { this.route('serverFile', { path: '/receive...
Negativism asked 11/2, 2014 at 0:55

1

Solved

I'm trying to serve a zip file on my Meteor app but I'm stuck. After a lot of Googling it seems the best way to go is with Iron Router but I don't know how: Router.map -> @route "data", where...
Heist asked 4/2, 2014 at 23:50

2

Solved

I have a route with a waitOn hook that returns a Meteor.subscribe. Every time the route is triggered, I see the spinner from my loadingTemplate briefly before seeing the actual data. I would have ...
Danit asked 22/1, 2014 at 18:15

1

I have a .html file from Google that I need to serve at http://www.domain.com/google1234567890123456.html. I placed the .html file into pathToMeteorApp/public/ but when I visit that URL, Meteor ser...
Cyril asked 11/12, 2013 at 4:49

2

Solved

We have implemented a layout where the main content resides in dynamic sidebars. We defined following layoutTemplate: <template name="layout"> {{> content}} {{> leftbar}} {{> r...
Botulism asked 11/11, 2013 at 15:28

2

Solved

How do I pass data between two different routes and templates? I have a javascript file on the front end (client folder) that simply calls Router.go() passing in the post ID as one of my paramete...
Dolli asked 6/9, 2013 at 7:58

1

Solved

How does one do an official redirect to another route from a Template.event call using meteor and Iron-Router. I seem to, at least with the Dev branch run into the same error `if (this._isRunning...
Strickman asked 14/9, 2013 at 18:32

1

Solved

I'm wondering if anyone could demonstrate how to use a global 'before' action on a router controller class that handles user authentication and displays the appropriate route/template based on the ...
Ivanna asked 26/8, 2013 at 20:13

© 2022 - 2024 — McMap. All rights reserved.