{"size": 731, "ext": "js", "max_stars_repo_path": "frontend/app/router.js", "max_stars_repo_name": "colbydehart/MartaWhistle", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "frontend/app/router.js", "max_issues_repo_name": "colbydehart/MartaWhistle", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "frontend/app/router.js", "max_forks_repo_name": "colbydehart/MartaWhistle", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 24.3666666667, "max_line_length": 55, "alphanum_fraction": 0.5745554036}
import Ember from 'ember';
import config from './config/environment';

const Router = Ember.Router.extend({
  location: config.locationType,
  rootURL: config.rootURL
});

Router.map(function() {
  this.route('landing', {path: '/'}, function() {
    this.route('log-in', {path: '/'});
    this.route('sign-up', {path: 'sign-up'});
  });
  this.route('product', {path:'/product'}, function() {
    this.route('dashboard');
    this.route('alarms', function() {
      this.route('edit');
      this.route('index', {path: '/'});
      this.route('new');
      this.route('show');
    });
    this.route('profile', function() {
      this.route('show', {path: '/'});
      this.route('edit');
    });
  });
});

export default Router;
