mirror of
https://github.com/szimek/sharedrop.git
synced 2026-06-05 21:02:47 +08:00
16 lines
354 B
JavaScript
16 lines
354 B
JavaScript
import EmberRouter from '@ember/routing/router';
|
|
import config from 'sharedrop/config/environment';
|
|
|
|
export default class Router extends EmberRouter {
|
|
location = config.locationType;
|
|
|
|
rootURL = config.rootURL;
|
|
}
|
|
|
|
// eslint-disable-next-line array-callback-return
|
|
Router.map(function () {
|
|
this.route('room', {
|
|
path: '/rooms/:room_id',
|
|
});
|
|
});
|