lockdown 1.1.5 → 1.1.6
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.
- data/lib/lockdown/helper.rb +2 -2
- data/lib/lockdown.rb +1 -1
- metadata +1 -1
data/lib/lockdown/helper.rb
CHANGED
|
@@ -19,7 +19,7 @@ module Lockdown
|
|
|
19
19
|
end
|
|
20
20
|
|
|
21
21
|
def user_group_id_reference
|
|
22
|
-
underscore(Lockdown::System.fetch(:user_group_model).to_s)
|
|
22
|
+
underscore(Lockdown::System.fetch(:user_group_model).to_s) + "_id"
|
|
23
23
|
end
|
|
24
24
|
|
|
25
25
|
def users_hbtm_reference
|
|
@@ -27,7 +27,7 @@ module Lockdown
|
|
|
27
27
|
end
|
|
28
28
|
|
|
29
29
|
def user_id_reference
|
|
30
|
-
underscore(Lockdown::System.fetch(:user_model).to_s)
|
|
30
|
+
underscore(Lockdown::System.fetch(:user_model).to_s) + "_id"
|
|
31
31
|
end
|
|
32
32
|
|
|
33
33
|
def get_string(value)
|
data/lib/lockdown.rb
CHANGED