manage 1.3.24 → 1.3.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b6bb8c9ec8f622c72e4ae1a628a871da337a21b5
4
- data.tar.gz: a0b1c94f6c08ca2a9df613b8bef8318eaf39407c
3
+ metadata.gz: d41db0300c76ec5c0193e340a8a37bd29597a7c3
4
+ data.tar.gz: 3f7d8b2733302719273c36652810aeeef2b64ea9
5
5
  SHA512:
6
- metadata.gz: 2f782af3065f41ef235bc8e4f6aafebcf66e2031330b6326ecc4b7f735ce5b9da447799d28a3554fbdb729bf05c63ffe8f8b2dd0cf316d54af9aa6909bab2461
7
- data.tar.gz: 8ada45b2fa2537c361fb4dec1d0ab6db1012bb96e14b60c4f56d97a9a0e01188438ec49258841ffafa59c49ee8262a75179194100b1de4148f27c0415780a3da
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
 
@@ -1,3 +1,3 @@
1
1
  module Manage
2
- VERSION = "1.3.24"
2
+ VERSION = "1.3.25"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: manage
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.24
4
+ version: 1.3.25
5
5
  platform: ruby
6
6
  authors:
7
7
  - Empower United