Skip to content

Commit

Permalink
Merge pull request #14 from Luit/master
Browse files Browse the repository at this point in the history
Fixed link to home page
  • Loading branch information
dgryski committed Apr 19, 2015
2 parents 016652c + 99c3dd7 commit 88dd94d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions gophertown.org/static/js/router.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
GopherTown.Router.map(function() {
this.resource('index', { path: '/' });
this.resource('index', { path: '/index.html' });
});
GopherTown.Router.map(function() {
this.resource('index', { path: '/index.html' });
this.resource('index', { path: '/' });
});

GopherTown.Router.map(function() {
Expand Down Expand Up @@ -52,7 +52,7 @@ GopherTown.ApplicationRoute = Ember.Route.extend({
GopherTown.RandomRoute = Ember.Route.extend({
model: function(params) {
return jQuery.getJSON('/gophers/random').then(function(res) {
console.log(res)
console.log(res);
return { results: res };
});
}
Expand Down

0 comments on commit 88dd94d

Please sign in to comment.