14 lines
365 B
JavaScript
14 lines
365 B
JavaScript
import EmberRouter from '@embroider/router';
|
|
import config from 'marco/config/environment';
|
|
|
|
export default class Router extends EmberRouter {
|
|
location = config.locationType;
|
|
rootURL = config.rootURL;
|
|
}
|
|
|
|
Router.map(function () {
|
|
this.route('place', { path: '/place/:place_id' });
|
|
this.route('place.new', { path: '/place/new' });
|
|
this.route('search');
|
|
});
|