import Ember from 'ember';
const { inject: { service }, Route } = Ember;

export default Route.extend({
  fastboot: service(),
  headData: service(),
  model() {
    if (!this.get('fastboot.isFastBoot')) {
      return this.store.findAll('github-repo');
    }
  },
  afterModel() {
    return this.get('headData').setProperties({
      title: 'Ship Shape - Open Source',
      description: 'We have created several Ember addons and collaborated extensively with the Ember community.',
      type: 'website',
      url: 'https://shipshape.io/portfolio'
    });
  }
});

@@ -101,31 +101,8 @@
 d(%7B%0A
-  fastboot: service(),%0A
   he
@@ -140,101 +140,1106 @@
     
-if (!this.get('fastboot.isFastBoot')) %7B%0A      return this.store.findAll('github-repo');%0A    %7D
+// return this.store.findAll('github-repo');%0A%0A    // Use static data for now, since EmberFire gives Fastboot Errors%0A    return %5B%0A      %7B%0A        'name': 'Ember 3D Nav',%0A        'repo': 'ember-3d-nav',%0A        'stars': 9%0A      %7D,%0A      %7B%0A        'name': 'Ember Drop',%0A        'repo': 'ember-drop',%0A        'stars': 4%0A      %7D,%0A      %7B%0A        'name': 'Ember Flatpickr',%0A        'repo': 'ember-flatpickr',%0A        'stars': 16%0A      %7D,%0A      %7B%0A        'name': 'Ember Math Helpers',%0A        'repo': 'ember-math-helpers',%0A        'stars': 12%0A      %7D,%0A      %7B%0A        'name': 'Ember Newton Cradle Loader',%0A        'repo': 'ember-newton-cradle-loader',%0A        'stars': 0%0A      %7D,%0A      %7B%0A        'name': 'Ember Shepherd',%0A        'repo': 'ember-shepherd',%0A        'stars': 62%0A      %7D,%0A      %7B%0A        'name': 'Ember Typewriter',%0A        'repo': 'ember-typewriter',%0A        'stars': 0%0A      %7D,%0A      %7B%0A        'name': 'Ember Vivus',%0A        'repo': 'ember-vivus',%0A        'stars': 0%0A      %7D,%0A      %7B%0A        'name': 'Ember X-Editable',%0A        'repo': 'ember-x-editable',%0A        'stars': 12%0A      %7D%0A    %5D;
 %0A  %7D

Use static data until EmberFire works with FastBoot