1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/web/ synced 2025-03-16 00:00:03 +01:00
VILLASweb/app/router.js

17 lines
391 B
JavaScript
Raw Normal View History

import Ember from 'ember';
import config from './config/environment';
var Router = Ember.Router.extend({
location: config.locationType
});
Router.map(function() {
this.route('entities', { path: '/' }, function() {
this.route('entity', { path: '/:entity_id' }, function() {
this.route('property', { path: '/:property_id'});
});
});
});
export default Router;