thecore_api 1.2.5 → 1.2.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
  SHA256:
3
- metadata.gz: 907ac5274e92813ffbf8201085eb34dfaca0c0e79eb9cfa3ea8f87b9187501b4
4
- data.tar.gz: 5b5ed988507e3c46867849b512961bbc6a90d56d30c8b29961864d6d38cf5837
3
+ metadata.gz: 1647e0a290ac31aeffd74c04ab98779a450bd56b206f84c03771e0a01048b45c
4
+ data.tar.gz: d8138ebd44e57b19852bc2e76375ed78468df4517c9dd66e162818803b38d374
5
5
  SHA512:
6
- metadata.gz: a515b81906ce4eac33eb757efff156f2f9e5574a5242be7530e7ba663506702b2fc4fa3c49bb22ce2b46d1c743e34ed299c44d3272dc29f2fc638b0bbf40577a
7
- data.tar.gz: 8c7eaf48a640befed9d729ce6535b35f15d71ec8f3267c3de374c90769877482c101116fc62e48f7e3bcf76c584d9f463d5abd8958d2f813f933b0460a35686b
6
+ metadata.gz: 82a7e51dbf7bd638723e8dece2b9495811c5315a7205e2467240838cae746a4891aab2fd0cde06da84b88c70840fee46a78f9d1e354b54726c0f3dcd39db2df6
7
+ data.tar.gz: 5304aab526daf6bb680543e6d6c41834341b32fded180c45e3b9591a3a1b484eb661f9048025cbea7d63fc6a0423381c52a05b62365556a8f83ebe363b28e5ce
@@ -192,7 +192,7 @@ class Api::V1::BaseController < ActionController::API
192
192
  end
193
193
 
194
194
  def request_params
195
- Rails.logger.debug "OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO: #{controller_name.to_sym}"
196
- params.require(controller_name.to_sym).permit!
195
+ # Rails.logger.debug "OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO: #{controller_name.to_sym}"
196
+ params.require(controller_name.singularize.to_sym).permit!
197
197
  end
198
198
  end
@@ -1,3 +1,3 @@
1
1
  module ThecoreApi
2
- VERSION = "1.2.5".freeze
2
+ VERSION = "1.2.6".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thecore_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.5
4
+ version: 1.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gabriele Tassoni