No need to call it `Discourse.TopicRoute` -- that is done automatically

by the compatibility layer. cc @ZogStrIP
This commit is contained in:
Robin Ward 2014-11-25 18:21:21 -05:00
parent 220f2424b5
commit 81eedf3a12
1 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@ var isTransitioning = false,
import ShowFooter from "discourse/mixins/show-footer";
Discourse.TopicRoute = Discourse.Route.extend(ShowFooter, {
var TopicRoute = Discourse.Route.extend(ShowFooter, {
redirect: function() { return this.redirectIfLoginRequired(); },
queryParams: {
@ -235,5 +235,5 @@ Discourse.TopicRoute = Discourse.Route.extend(ShowFooter, {
});
RSVP.EventTarget.mixin(Discourse.TopicRoute);
export default Discourse.TopicRoute;
RSVP.EventTarget.mixin(TopicRoute);
export default TopicRoute;