2015-11-23 16:45:05 -05:00
|
|
|
export default Ember.Route.extend({
|
|
|
|
queryParams: {
|
2015-11-30 15:22:58 -05:00
|
|
|
q: { replace: true },
|
|
|
|
overridden: { replace: true }
|
2015-11-23 16:45:05 -05:00
|
|
|
},
|
|
|
|
|
|
|
|
model(params) {
|
2015-11-30 15:22:58 -05:00
|
|
|
return this.store.find('site-text', Ember.getProperties(params, 'q', 'overridden'));
|
2015-11-23 16:45:05 -05:00
|
|
|
},
|
|
|
|
|
|
|
|
setupController(controller, model) {
|
|
|
|
controller.set('siteTexts', model);
|
|
|
|
}
|
|
|
|
});
|