mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Import getProperties from @ember/object
This commit is contained in:
committed by
Robin Ward
parent
74869b8a7f
commit
fa56ba89a5
@@ -1,5 +1,6 @@
|
||||
import Route from "@ember/routing/route";
|
||||
import showModal from "discourse/lib/show-modal";
|
||||
import { getProperties } from "@ember/object";
|
||||
|
||||
export default Route.extend({
|
||||
queryParams: {
|
||||
@@ -10,7 +11,7 @@ export default Route.extend({
|
||||
model(params) {
|
||||
return this.store.find(
|
||||
"site-text",
|
||||
Ember.getProperties(params, "q", "overridden")
|
||||
getProperties(params, "q", "overridden")
|
||||
);
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user