This repository has been archived on 2025-02-01. You can view files and clone it, but cannot push or open issues or pull requests.
stockpile-ember/app/router.js
2016-11-17 08:18:48 +01:00

16 lines
333 B
JavaScript

import Ember from 'ember';
import config from './config/environment';
const Router = Ember.Router.extend({
location: config.locationType,
rootURL: config.rootURL
});
Router.map(function() {
this.route('about');
this.route('items', function() {
this.route('show', {path: '/:item_id'});
});
});
export default Router;