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