skinny_controllers 0.6.0 → 0.6.1

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: 15c86aa2d14544c566cb2ef4761a606a7c0037dc
4
- data.tar.gz: 1a0f4d3b18b566e0c472403d53e8bf6d3b009be7
3
+ metadata.gz: baa0a479a75162abec703040ab2c2d3d48da38f5
4
+ data.tar.gz: 920aab7265de8c8d4c2f0adbe97326305c84c74a
5
5
  SHA512:
6
- metadata.gz: b31031668f0ea82c889a0c8cc84280f027c95f0c683c6fa112775cc665d9ce5b7c8b2a2428da738174e6c706d6cc5a13746f1b65251ee8aa53b6615ca1a16f4c
7
- data.tar.gz: 9abf84595952ea832fcca40f88ca17767344d0d00b2fa26da32543133b4638fa8b3f8a1a28d5422994c94c8663a5281131df298ff63ef2d5f0816b0a064d351e
6
+ metadata.gz: 2cb7cf5518a81613cb82989fa697651e215f4f114e0c6983247c24fa21f957457b9ba0f21943e0ad5fcee2c49bc7beaf19bb6319eb786b5b5ff7ca6f6ce3a93a
7
+ data.tar.gz: d4b0ba26febc5b6518bfd7b1e6d7e49fa51769f00ab2290276d67caf756fb1e42e6875362897996e954a416e963e3932816f0780caa272249a84c42242a8f2c5
@@ -43,6 +43,8 @@ module SkinnyControllers
43
43
  #
44
44
  # @return the whitelisted strong parameters object
45
45
  def params_for_action
46
+ return {} if action_name == 'destroy'
47
+
46
48
  model_key =
47
49
  if model_class
48
50
  # model_class should be a class
@@ -1,3 +1,3 @@
1
1
  module SkinnyControllers
2
- VERSION = '0.6.0'
2
+ VERSION = '0.6.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: skinny_controllers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - L. Preston Sego III
@@ -224,6 +224,6 @@ rubyforge_project:
224
224
  rubygems_version: 2.4.8
225
225
  signing_key:
226
226
  specification_version: 4
227
- summary: SkinnyControllers-0.6.0
227
+ summary: SkinnyControllers-0.6.1
228
228
  test_files: []
229
229
  has_rdoc: