1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/web/ synced 2025-03-23 00:00:02 +01:00
VILLASweb/app/routes/visualization/index.js
Markus Grigull 5bc260b81c Add visulization and plot
Plot has no routes defined.
Visualization edit and delete routes are not working.
2016-06-28 10:57:34 +02:00

8 lines
280 B
JavaScript

import Ember from 'ember';
import AuthenticatedRouteMixin from 'ember-simple-auth/mixins/authenticated-route-mixin';
export default Ember.Route.extend(AuthenticatedRouteMixin, {
model(params) {
return this.store.findRecord('visualization', params.visualizationid);
}
});