1
0
mirror of https://github.com/flarum/core.git synced 2025-10-12 23:44:27 +02:00

Push user route history in a more appropriate place

This commit is contained in:
Toby Zerner
2015-03-27 11:52:46 +10:30
parent 2a33d5d72f
commit b482ada692
2 changed files with 6 additions and 6 deletions

View File

@@ -1,6 +1,10 @@
import Ember from 'ember';
export default Ember.Route.extend({
import PushesHistory from 'flarum/mixins/pushes-history';
export default Ember.Route.extend(PushesHistory, {
historyKey: 'user',
model: function(params) {
return this.store.find('user', params.username);
},