ajaxify_rails 0.9.0 → 0.9.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ajaxify_rails/action_controller_additions.rb +3 -1
- data/lib/ajaxify_rails/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9f3631334489da73e259d1c380e7fb6533066d5b
|
4
|
+
data.tar.gz: 770025f84fcddf8dac35980f24c129c6a33ee9c1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: de7b5706ed76a95bd1e7fc73252d820e16c4b7be206e7914369992016b2d9abdbe577bd7e79f19d877c3187232fb8e9161bfb17205ed1f3201440ad58681fa07
|
7
|
+
data.tar.gz: 8be251769d302161eae13410aed8134b2f6ebbda30b83a2fe3bf2f0746f1b633bd705a85ef65ce8a3c2293e5ee7a64164689ba49bf24b6f56053fca800ca4112
|
@@ -95,7 +95,9 @@ module ActionControllerAdditions
|
|
95
95
|
|
96
96
|
|
97
97
|
def redirect_to(options = {}, response_status = {})
|
98
|
-
|
98
|
+
if request.referer # make redirect to back work for browsers without history api
|
99
|
+
request.referer.sub!('/#/', '/').sub!('#/', '/')
|
100
|
+
end
|
99
101
|
|
100
102
|
super
|
101
103
|
|