Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Subscriptions fail to load after meteor update #68

Open
chmac opened this issue Jun 6, 2015 · 2 comments
Open

Subscriptions fail to load after meteor update #68

chmac opened this issue Jun 6, 2015 · 2 comments

Comments

@chmac
Copy link

chmac commented Jun 6, 2015

Steps to reproduce:

  • git clone [email protected]:Differential/meteor-boilerplate.git
  • cd meteor-boilerplate
  • meteor
  • Create an account, go to the dashboard, notice list of items
  • meteor update
  • Notice the dashboard now has no items

I think this is caused by either a change in IronRouter's API, or a bug in IronRouter introduced during the upgrade. I've had a dig into IronRouter and I can't figure out the issue. There were quite a lot of changes in iron:router from 1.0.7 to 1.0.9.

@ashooner
Copy link

This appears to be caused by IronRouter no longer automatically assigning DashboardController to the dashboard route. If you do so explicitly in the route definition, the dashboard controller loads, and everything functions.

@ratacibernetica
Copy link

Wasted a lot of time (meteor noob), adding this to routes.js sets the correct controller in the dashboard route:

Router.route('/dashboard', {
name: 'dashboard',
controller: DashboardController
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants