hooch 0.6.2 → 0.6.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/hooch.js +4 -0
- data/lib/hooch/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: 8705a701f4a27a828003d4f03849bd85a349c1ed
|
4
|
+
data.tar.gz: 39ffcb5992bb7cbdbade204797b483187b0f927e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ff9336b4e5e4e7a069ac237c59c24adff0ba078170c2a6513992dca314beb242865a4ad052f3a5e4756dce8ea66aef1bb1fd8ca8697890826d9a8c0969fda81c
|
7
|
+
data.tar.gz: 25de0bb8ea8f9b0020bbb6a87c99ec16a8e2eb1b83865343476b524377a66ac4ee8fb399f8985ab2833b5d1f9d81f49c330f11f42851081102da74742752f78a
|
@@ -933,6 +933,10 @@ var initHooch = function(){
|
|
933
933
|
if(this.$sorter.data('sort-field')){
|
934
934
|
form_data['sort_field'] = this.$sorter.data('sort-field')
|
935
935
|
}
|
936
|
+
var csrf_token = $('[name="csrf-token"]').attr('content')
|
937
|
+
if(csrf_token){
|
938
|
+
form_data['authenticity_token'] = csrf_token
|
939
|
+
}
|
936
940
|
return form_data
|
937
941
|
},
|
938
942
|
removePlaceholder: function(){
|
data/lib/hooch/version.rb
CHANGED