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 +4 -4
- data/app/controllers/api/v1/base_controller.rb +2 -2
- data/lib/thecore_api/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: 1647e0a290ac31aeffd74c04ab98779a450bd56b206f84c03771e0a01048b45c
|
4
|
+
data.tar.gz: d8138ebd44e57b19852bc2e76375ed78468df4517c9dd66e162818803b38d374
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
data/lib/thecore_api/version.rb
CHANGED