More work on interface, fixes for backend

This commit is contained in:
Kane York
2015-06-25 14:53:03 -07:00
parent 01b38207d9
commit 2c71bc11aa
10 changed files with 108 additions and 38 deletions
@@ -0,0 +1,15 @@
import RestModel from 'discourse/models/rest';
const Query = RestModel.extend({
createProperties() {
return this.getProperties("name", "description");
},
run() {
console.log("Called query#run");
}
});
console.log('query model loaded');
export default Query;