import Ember from 'ember';
import config from './config/environment';

const Router = Ember.Router.extend({
  location: config.locationType
});

Router.map(function () {
  this.route('centres', {path: '/centres/:centre_id'});
});

export default Router;

import Ember from 'ember';
import config from './config/environment';

const Router = Ember.Router.extend({
  location: config.locationType
});

Router.map(function () {
  //this.route('centres', {path: '/centres/:centre_id'});
});

export default Router;

remove redundant route