Skip to content

Instantly share code, notes, and snippets.

@geekygrappler
Last active August 29, 2015 14:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save geekygrappler/0a6f052879906c641ccb to your computer and use it in GitHub Desktop.
Save geekygrappler/0a6f052879906c641ccb to your computer and use it in GitHub Desktop.
import Ember from 'ember';
import config from './config/environment';
var Router = Ember.Router.extend({
location: config.locationType
});
Router.map(function() {
this.resource('todos', { path: '/' });
});
export default Router;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment