Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4829

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

$
0
0

@Woosung_Chu wrote:

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!!!!

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4829

Trending Articles