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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7339bd2ad58795bd32b21937673bb8aaa8066f24
4
- data.tar.gz: 16a404c7ea5dbab01f4da79173c28f9ea55d29c3
3
+ metadata.gz: 325332e56f5f932a6ec28c50f768e01a7ae5a3fb
4
+ data.tar.gz: 52d3ce2563119faa4ae16f05bfd0f1192ca08f66
5
5
  SHA512:
6
- metadata.gz: 9385bc8396c421d91f135cc75f2d14533901232548544d12c59891bd9299f61b090bea36df85e3f0e9bffbf28fec683ce834ea749b3d212da1029c70a55fce0e
7
- data.tar.gz: a6649a18b0f85ea6ed71ff402db15de8c48c755dd2080f1448583e3c6b31705b7024ec70d6070ff66b5a55113cb5a220726699d308f4231a710760ecde530859
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.to_param, title].join('_')
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)
@@ -1,3 +1,3 @@
1
1
  module EffectiveRegions
2
- VERSION = '1.6.5'.freeze
2
+ VERSION = '1.6.6'.freeze
3
3
  end
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.5
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-25 00:00:00.000000000 Z
11
+ date: 2015-11-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails