router.js 448 B

12345678910111213141516
  1. import Ember from 'ember';
  2. import config from './config/environment';
  3. var Router = Ember.Router.extend({
  4. location: config.locationType
  5. });
  6. Router.map(function() {
  7. this.route('yarnApps');
  8. this.route('yarnQueue', { path: '/yarnQueue/:queue_name' });
  9. this.route('clusterOverview');
  10. this.route('yarnApp', { path: '/yarnApp/:app_id' });
  11. this.route('yarnAppAttempt', { path: '/yarnAppAttempt/:app_attempt_id'});
  12. });
  13. export default Router;