cms/app-client/app/router.js
author nowmad@23.1.168.192.in-addr.arpa
Fri, 06 Nov 2015 15:37:09 +0100
changeset 5 d4b3da0dadc9
child 16 70e9a764d6d7
permissions -rw-r--r--
init ember app with 2 pages and an images

import Ember from 'ember';
import config from './config/environment';

var Router = Ember.Router.extend({
  location: config.locationType
});

Router.map(function() {
  this.route('first-page');
  this.route('second-page');
});

export default Router;