mirror of
https://github.com/flarum/framework.git
synced 2024-12-14 16:13:50 +08:00
8 lines
153 B
JavaScript
8 lines
153 B
JavaScript
|
import Ember from 'ember';
|
||
|
|
||
|
export default Ember.Route.extend({
|
||
|
model: function(params) {
|
||
|
return this.store.find('user', params.username);
|
||
|
}
|
||
|
});
|