hummingbird-me/hummingbird

View on GitHub
frontend/app/routes/pro.js

Summary

Maintainability
A
0 mins
Test Coverage
import Ember from 'ember';
import setTitle from '../utils/set-title';

export default Ember.Route.extend({
  model: function() {
    return this.store.find('pro-membership-plan');
  },

  afterModel: function() {
    setTitle("Hummingbird PRO");
  },

  setupController: function(controller, model) {
    controller.set('model', model);
    controller.set('partnerDeals', this.store.find('partner-deal'));
  }
});