mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-30 02:56:26 -05:00
14 lines
319 B
JavaScript
14 lines
319 B
JavaScript
export default Ember.Route.extend({
|
|
queryParams: {
|
|
q: { replace: true },
|
|
overridden: { replace: true }
|
|
},
|
|
|
|
model(params) {
|
|
return this.store.find('site-text', Ember.getProperties(params, 'q', 'overridden'));
|
|
},
|
|
|
|
setupController(controller, model) {
|
|
controller.set('siteTexts', model);
|
|
}
|
|
});
|