mirror of
https://github.com/flarum/core.git
synced 2025-10-13 07:54:25 +02:00
17 lines
359 B
JavaScript
17 lines
359 B
JavaScript
import Ember from 'ember';
|
|
import config from './config/environment';
|
|
|
|
var Router = Ember.Router.extend({
|
|
location: config.locationType
|
|
});
|
|
|
|
Router.map(function() {
|
|
this.resource('dashboard', {path: '/'});
|
|
this.resource('basics');
|
|
this.resource('permissions');
|
|
this.resource('appearance');
|
|
this.resource('extensions');
|
|
});
|
|
|
|
export default Router;
|