import Ember from 'ember';

export default Ember.Controller.extend({

  actions: {
    updateShip: function (ship) {
      ship.save();
    },
    toggleButton: function (ship, b) {
      Ember.set(b, 'value', !Ember.get(b, 'value'));
      ship.save();
    }
  }
});

@@ -185,54 +185,171 @@
     
-Ember.set(b, 'value', !Ember.get(b, 'value'));
+//Need to use set/get here, maybe should be using observable%0A      Ember.set(b, 'value', !Ember.get(b, 'value'));%0A      //Ensure changes are propagated to firebase
 %0A   

Add some comments