effective_regions 1.6.5 → 1.6.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/helpers/effective_regions_helper.rb +1 -1
- data/lib/effective_regions/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 325332e56f5f932a6ec28c50f768e01a7ae5a3fb
|
4
|
+
data.tar.gz: 52d3ce2563119faa4ae16f05bfd0f1192ca08f66
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a650680a0d331da59ff176f5da8f177224391d7eae435d16d16c8e18f6d538a306ec901e6822b5cee7e6d39f261c04e0d7ad65ee168c4f2b2cc9b3822fe55205
|
7
|
+
data.tar.gz: aed83495d37318fed24ccb9cd9d6bf31e88b0a153f59a27d0cc6cbebdf58e6b66d1284b90c8dfebdd88cd10dd5f9c8e498169615ccc4b49d21a531d911b5b093
|
@@ -62,7 +62,7 @@ module EffectiveRegionsHelper
|
|
62
62
|
|
63
63
|
if effectively_editing?
|
64
64
|
can_edit = (EffectiveRegions.authorized?(controller, :update, obj) rescue false)
|
65
|
-
opts[:id] = [model_name_from_record_or_class(obj).param_key(), obj.
|
65
|
+
opts[:id] = [model_name_from_record_or_class(obj).param_key(), obj.id, title].join('_')
|
66
66
|
end
|
67
67
|
else # This is a global region
|
68
68
|
regions = (@effective_regions_global ||= Effective::Region.global.to_a)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: effective_regions
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.
|
4
|
+
version: 1.6.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-11-
|
11
|
+
date: 2015-11-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|