From 8110baf2552f492f5082369cd30998f70ab5cdfa Mon Sep 17 00:00:00 2001 From: Jason Denney Date: Mon, 3 Feb 2014 00:16:13 -0500 Subject: [PATCH] Removing unnecessary render --- app/controllers/api/v1/bikes_controller.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/app/controllers/api/v1/bikes_controller.rb b/app/controllers/api/v1/bikes_controller.rb index b2ada0f..116714b 100644 --- a/app/controllers/api/v1/bikes_controller.rb +++ b/app/controllers/api/v1/bikes_controller.rb @@ -17,7 +17,6 @@ class Api::V1::BikesController < Api::V1::BaseController else render json: { errors: ["Expected bike in submitted data" ]}, status: 422 and return end - render json: {}, status: 200 and return end private