This repository has been archived on 2025-03-30. You can view files and clone it, but cannot push or open issues or pull requests.
hymenobacterdotinfo/app/router.js
2015-02-03 10:16:18 -09:00

21 lines
543 B
JavaScript

import Ember from 'ember';
import config from './config/environment';
var Router = Ember.Router.extend({
location: config.locationType
});
Router.map(function() {
this.route('login');
this.route('about');
this.resource('genera');
this.resource('species');
this.resource('strains');
this.resource('strain', { path: '/strain/:strain_id' }, function() {
this.resource('measurements');
});
this.resource('measurements');
this.resource('measurement', { path: '/measurement/:measurement_id' });
});
export default Router;