effective_datatables 1.1.5 → 1.1.6
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8cd15b564ccd9911c90cd62080d8797311ebe195
|
4
|
+
data.tar.gz: 019aac72f5a5f12e2965a479be7ceec15d144002
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d011aab9e624580907bfdb20b97cefdd2dc66505e52a514829402b839618880989e7c4b0e77cd652b71ae40e8f418bbe451c1d235907f88239cc239ab667f2dc
|
7
|
+
data.tar.gz: 027b7f55bce90c8859f29ccae88c78cc5954f431f8b91314956cd754bad8ca506cd2ea3150b469c9e8354543b1416863d1782f53bfce1a8b974177dad7fb7ec9
|
@@ -71,7 +71,7 @@ module EffectiveDatatablesHelper
|
|
71
71
|
end
|
72
72
|
|
73
73
|
def datatables_admin_path?
|
74
|
-
(attributes[:admin_path] || request.referer.downcase.
|
74
|
+
(attributes[:admin_path] || request.referer.downcase.start_with?('/admin')) rescue false
|
75
75
|
end
|
76
76
|
|
77
77
|
# TODO: Improve on this
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: effective_datatables
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Code and Effect
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-01-
|
11
|
+
date: 2015-01-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|