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'),
          solution: this.get('solution'),
          question: this.get('question')
        };
        this.set('addNewAnswer', false);
        this.sendAction('saveAnswer', params);
      }
    }
  });
  