lib/generators/templates/router.js.es6 in ember-appkit-rails-0.3.2 vs lib/generators/templates/router.js.es6 in ember-appkit-rails-0.4.0
- old
+ new
@@ -1,5 +1,13 @@
-var Router = Ember.Router.extend();
+var Router = Ember.Router.extend({
+ // Uncomment to change Ember's router to use the
+ // HTML5 History API
+ // Please note that not all browsers support this!
+ // You will also need to uncomment the greedy route matcher
+ // in config/routes.rb
+
+ // location: 'history'
+});
Router.map(function() {
});
export default Router;