FIX: Use the container to register Discourse's custom location handler
This commit is contained in:
@@ -255,8 +255,6 @@ Ember.DiscourseLocation = Ember.Object.extend({
|
||||
|
||||
});
|
||||
|
||||
Ember.Location.registerImplementation('discourse_location', Ember.DiscourseLocation);
|
||||
|
||||
/**
|
||||
Since we're using pushState/replaceState let's add extra hooks to cloakedView to
|
||||
eject itself when the popState occurs. This results in better back button
|
||||
|
||||
Reference in New Issue
Block a user