Skip to content

Commit

Permalink
Comments out for the time being all not-found pages. Yack.
Browse files Browse the repository at this point in the history
  • Loading branch information
epicmonkey committed Jun 12, 2015
1 parent c75b979 commit 710ff65
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 30 deletions.
10 changes: 5 additions & 5 deletions public/js/app/routes/PostRoute.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ define(["app/app",
return this.store.findOneQuery('post', params.postId, { maxComments: 'all' })
},

actions: {
error: function (error) {
this.transitionTo('not-found')
}
},
// actions: {
// error: function (error) {
// this.transitionTo('not-found')
// }
// },

setupController: function(controller, model) {
this.controllerFor('pub-sub').set('channel', model)
Expand Down
10 changes: 5 additions & 5 deletions public/js/app/routes/TimelineCommentsRoute.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ define(["app/app",
}
},

actions: {
error: function (error) {
this.transitionTo('not-found')
}
},
// actions: {
// error: function (error) {
// this.transitionTo('not-found')
// }
// },

model: function(params) {
return this.store.findOneQuery('timeline', params.username + '/comments', { offset: params.offset })
Expand Down
10 changes: 5 additions & 5 deletions public/js/app/routes/TimelineIndexRoute.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ define(["app/app",
return this.store.findOneQuery('timeline', params.username, { offset: params.offset })
},

actions: {
error: function (error) {
this.transitionTo('not-found')
}
},
// actions: {
// error: function (error) {
// this.transitionTo('not-found')
// }
// },

deactivate: function() {
this.controllerFor('pub-sub').unsubscribe()
Expand Down
10 changes: 5 additions & 5 deletions public/js/app/routes/TimelineLikesRoute.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ define(["app/app",
}
},

actions: {
error: function (error) {
this.transitionTo('not-found')
}
},
// actions: {
// error: function (error) {
// this.transitionTo('not-found')
// }
// },

model: function(params) {
return this.store.findOneQuery('timeline', params.username + '/likes', { offset: params.offset })
Expand Down
10 changes: 5 additions & 5 deletions public/js/app/routes/TimelineSubscribersRoute.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ define(["app/app",
"use strict";

App.TimelineSubscribersRoute = Ember.Route.extend(App.TransitionalRoute, {
actions: {
error: function (error) {
this.transitionTo('not-found')
}
},
// actions: {
// error: function (error) {
// this.transitionTo('not-found')
// }
// },

model: function(params) {
return this.store.findQuery('subscriber', params.username)
Expand Down
10 changes: 5 additions & 5 deletions public/js/app/routes/TimelineSubscriptionsRoute.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ define(["app/app",
"use strict";

App.TimelineSubscriptionsRoute = Ember.Route.extend(App.TransitionalRoute, {
actions: {
error: function (error) {
this.transitionTo('not-found')
}
},
// actions: {
// error: function (error) {
// this.transitionTo('not-found')
// }
// },

model: function(params) {
return this.store.findQuery('subscription', params.username)
Expand Down

0 comments on commit 710ff65

Please sign in to comment.