Files
marco/app/router.js
Râu Cao e7dfed204e
All checks were successful
CI / Lint (pull_request) Successful in 30s
CI / Test (pull_request) Successful in 49s
Release Drafter / Update release notes draft (pull_request) Successful in 4s
Connect OSM account
2026-04-01 18:46:19 +04:00

17 lines
466 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');
this.route('oauth', function () {
this.route('osm-callback', { path: '/osm/callback' });
});
});