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

22 lines
543 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('lab-mashup', { path: '/' }, function() {
// dynamic routes
this.route('entity', { path: '/:entity_id' }, function() {
2015-10-08 16:04:06 +02:00
this.route('category', { path: '/:category_id'});
});
// static routes
this.route('static1', { path: '/static1' });
this.route('static2', { path: '/static2' });
});
});
export default Router;