mrujs_rails 0.1.0.pre.beta.12 → 0.1.0.pre.beta.13

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 227377a316fe3a8f533b14bc7479812e248d9e91fb0a8620052d5d8a6965a5af
4
- data.tar.gz: 12658401e2920c5213e7ff7528a129d5a3cae24a394a354f95a79a6c3ebfc343
3
+ metadata.gz: 8b3af2626c85259fabe940acf9411c6bd5a1189eda6b1d444f05298d3eeb5e3f
4
+ data.tar.gz: c3c32f6dd8c1437d1106d1ad41d7a440dd32730e69b1b6512a254d8543cf2cf2
5
5
  SHA512:
6
- metadata.gz: 5cb073454c15fcc9e50fc8138460706ce73a05292ecb3c2628a42e163b1d8f579d6d68b8070729ca0f20cbeb450004edc736730b1a87c1f01ffddb5ef0e136b2
7
- data.tar.gz: 35c771d907c4b024f128d1c984fab10f05e8141256bc0f6bb4a2f4cceb157d0b7c9b8dede1e4ce054f0c7d01ae344ec7f32c04df00303f1782903b14a70fb852
6
+ metadata.gz: 5a039a5a14c7f44c5a0e5f5dfd15c013830749848aed32447c548dd0648893b8f45dfd1c1262f76cfd060a898f65ce0664627dd4d3f1c9f064ac437c843d2445
7
+ data.tar.gz: f30adacf71337f8599b7544bf3f8df76e88672d2b827d107165e99415a08293530c67fbe705bbe9e0b59fd94bfa6bc08dff2ae611a4903064c9eca28019780db
@@ -24,8 +24,8 @@ module MrujsRails
24
24
  action = action.to_s
25
25
  visit_action = action == "advance" ? action : "replace"
26
26
 
27
- response.content_type =
28
- response.headers["X-Xhr-Redirect"] = location
27
+ response.content_type = Mime[:turbolinks]
28
+ response.headers["X-Xhr-Redirect"] = location
29
29
  response.headers["TURBOLINKS-REDIRECT-ACTION"] = visit_action
30
30
  response.headers["TURBOLINKS-REDIRECT-LOCATION"] = location
31
31
  end
@@ -1,3 +1,3 @@
1
1
  module MrujsRails
2
- VERSION = "0.1.0-beta.12"
2
+ VERSION = "0.1.0-beta.13"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mrujs_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.pre.beta.12
4
+ version: 0.1.0.pre.beta.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - ParamagicDev