text: import Ember from 'ember';
  
  export default Ember.Component.extend({
    addNewAnswer: false,
    actions: {
      answerFormShow() {
        this.set('addNewAnswer', true);
      },
      saveAnswer() {
       var params = {
         author: this.get('author'),
        //  rating: this.get('rating'),
         reply: this.get('reply'),
         question: this.get('question')
       };
       this.set('addNewAnswer', false);
       this.sendAction('saveAnswer', params);
     }
    }
  });
  