mirror of
https://github.com/flarum/framework.git
synced 2025-01-08 19:53:39 +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);
|
||
|
}
|
||
|
});
|