manage 1.3.24 → 1.3.25
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/manage/resource_controller.rb +1 -1
- data/lib/manage/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: d41db0300c76ec5c0193e340a8a37bd29597a7c3
|
4
|
+
data.tar.gz: 3f7d8b2733302719273c36652810aeeef2b64ea9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d804163b6cee21b8636c99b6fddf60e1e1eb51a21dd5a7f451a8319ec2afa4e65ed2a3f80d744bca0ed453e86e6f3a2f93755479323ccd2c4962fbb3fa432bdc
|
7
|
+
data.tar.gz: 43b400a5d3a4f3dd1aa745c252a54a9a91653bd93309eda74c340b8a265e101b7cb83db0f8e937210acdab2f80a31ae7ce6e8b31460557a2a022300c4375de12
|
@@ -42,7 +42,7 @@ class Manage::ResourceController < Manage::ApplicationController
|
|
42
42
|
|
43
43
|
def collection
|
44
44
|
filtered_collection = end_of_association_chain
|
45
|
-
if @@collection_scope
|
45
|
+
if defined?(@@collection_scope) and @@collection_scope.present?
|
46
46
|
filtered_collection = @@collection_scope.call(filtered_collection)
|
47
47
|
end
|
48
48
|
|
data/lib/manage/version.rb
CHANGED