From: Tomas Sedovic <tsedovic(a)redhat.com>
Occasionally, Backbone would still redirect to the hash-based URLs. This
should fix it once and for all.
---
src/app/views/layouts/application.haml | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/app/views/layouts/application.haml
b/src/app/views/layouts/application.haml
index e7a8ced..386c385 100644
--- a/src/app/views/layouts/application.haml
+++ b/src/app/views/layouts/application.haml
@@ -20,6 +20,7 @@
// when the browser doesn't support the HTML5 History API.
window.history || (window.history = {});
window.history.pushState || (window.history.pushState = function(){});
+ window.history.replaceState || (window.history.replaceState = function(){});
= javascript_include_tag "jquery-1.6.1.min.js"
= javascript_include_tag "jquery.ui-1.8.1/jquery-ui-1.8.1.custom.min.js"
--
1.7.6
Show replies by date