cruj_cruj_cruj_visagio 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/cruj_cruj_cruj_controller.rb +5 -1
- data/lib/cruj_cruj_cruj/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6a38ee4063d59b2de4ebaceaf0fc9fa93aeb3bb25483cbdf3c599046435c46e6
|
4
|
+
data.tar.gz: e843e01e6347b1ee214e1b4875136375ebd9416b38949e2c9793ab192e386a85
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 37d378c47f4f4a541b68bd63ec96c3706f30aa19850023ce807c6eb99063a0eba5ababe792af31d3aeb124cdb46e8693859d950ccab5fbe2549d00e34011d49c
|
7
|
+
data.tar.gz: 3a1810e5b07cb5d7bf1000f80c6950d2029138d8346bfb2af1cbdc950c8741a3eed7e862be78141fda87d1388cc4043f83b3f499ba44a826d1d1578af674dd03
|
@@ -94,7 +94,11 @@ class CrujCrujCrujController < ApplicationController
|
|
94
94
|
end
|
95
95
|
|
96
96
|
def safe_parameters
|
97
|
-
|
97
|
+
if Rails::VERSION::MAJOR < 4
|
98
|
+
params[snake_case_model_name]
|
99
|
+
else
|
100
|
+
params.require(snake_case_model_name).permit!
|
101
|
+
end
|
98
102
|
end
|
99
103
|
|
100
104
|
def find_resource
|