1
0
mirror of https://github.com/flarum/core.git synced 2025-08-04 23:47:32 +02:00

Implement user hover cards and basic profile pages

This commit is contained in:
Toby Zerner
2015-03-12 10:40:03 +10:30
parent 9891e5af18
commit 2fc562e8d1
16 changed files with 252 additions and 18 deletions

View File

@@ -6,7 +6,6 @@ var Router = Ember.Router.extend({
});
Router.map(function() {
this.resource('index', {path: '/'}, function() {
this.resource('discussion', {path: '/:id/:slug'}, function() {
this.route('near', {path: '/:near'});
@@ -16,9 +15,10 @@ Router.map(function() {
this.resource('user', {path: '/u/:username'}, function() {
this.route('activity');
this.route('posts');
this.resource('preferences');
this.route('edit');
});
this.resource('settings');
});
export default Router;