effective_datatables 1.3.4 → 1.3.5
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: 6e523e05861fc5fdbd733ad70cecffd66dd4bccc
|
4
|
+
data.tar.gz: b8fe6b15fa56c7678a2a27730ac015d73b3c0f5e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 40bc6660bd4fad913a122f25c857e683290dc4ed51449e097890da7018a8623d188968d8b3cf16c563a490430f042c5cfa03ca522bddfeff2813e10b544d04aa
|
7
|
+
data.tar.gz: 1f014ef661c4b3f0646f7c98362e2a4d76595bfa2f4b26893c75453038b331c01e0f2442536936e081a32369ea280ee504c16ec4fe81dbdb76ce5cafc8733ecb
|
@@ -85,8 +85,9 @@ module EffectiveDatatablesHelper
|
|
85
85
|
|
86
86
|
def datatables_admin_path?
|
87
87
|
@datatables_admin_path ||= (
|
88
|
+
path = request.path.to_s.downcase.chomp('/') + '/'
|
88
89
|
referer = request.referer.to_s.downcase.chomp('/') + '/'
|
89
|
-
(attributes[:admin_path] || referer.include?('/admin/')) rescue false
|
90
|
+
(attributes[:admin_path] || referer.include?('/admin/') || path.include?('/admin/')) rescue false
|
90
91
|
)
|
91
92
|
end
|
92
93
|
|
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.3.
|
4
|
+
version: 1.3.5
|
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-03-
|
11
|
+
date: 2015-03-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|