aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/api
diff options
context:
space:
mode:
authorcedricnjanga2017-10-24 15:50:43 +0200
committercedricnjanga2017-10-24 15:50:43 +0200
commit489d2b19f4039daa14799122901f6e27b6c0dba5 (patch)
tree8c1b3c3d18646b8dc4cad1560ee1fa17cc0ac745 /app/controllers/api
parent4e3fefe39274424c14c12cd93016fdf495e7cc08 (diff)
downloadchouette-core-489d2b19f4039daa14799122901f6e27b6c0dba5.tar.bz2
Simplify extension file validation
Diffstat (limited to 'app/controllers/api')
-rw-r--r--app/controllers/api/v1/imports_controller.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/controllers/api/v1/imports_controller.rb b/app/controllers/api/v1/imports_controller.rb
index 197e23337..3d7f4ca79 100644
--- a/app/controllers/api/v1/imports_controller.rb
+++ b/app/controllers/api/v1/imports_controller.rb
@@ -8,7 +8,6 @@ class Api::V1::ImportsController < Api::V1::IbooController
if @import.valid?
create!
else
- binding.pry
render json: { status: "error", messages: @import.errors.full_messages }
end
end