My ember inspector has seen better days
It's not showing my routes
When I open the /# Routes
tab, I only see one entry:
I believe this has been happening since I have upgraded to Ember v1.13.0
Most of the application is working fine. I am new to ember but I suspect there is a problem with nested routes that might or might not be related.
Here is my full router.js
import Ember from 'ember';
import config from './config/environment';
var Router = Ember.Router.extend({
location: config.locationType
});
export default Router.map(function() {
this.route('login');
this.route('account');
this.route('dashboard', {path: "/"});
this.route('reviews', function() {
this.route('show', { path: "/:id" });
this.route('new', {path: "/write/:shopId"});
});
this.route('orders', function() {
this.route('show', { path: "/:id" });
});
this.route('users', function(){
this.route('show', {path: '/:id'}, function () {
});
});
});
Aucun commentaire:
Enregistrer un commentaire