Ember-cli-mirage accept post() even I didn't defined function!


#1

I am very new in Ember-cli-mirage.

I defined get() method only in mirage.config.js

  this.get('/bugReports',function(Schema,request){
    return{
      'bug-report': Schema.db.bugReports
    };
  });

but it also get response to post()! is it working default ???

  • I defined factories/bugReports.js too.

Ember is so amazing!!!