From 148724f3b057a0790be5386de23103db24a812eb Mon Sep 17 00:00:00 2001 From: mo khan Date: Thu, 20 Feb 2014 19:59:23 -0700 Subject: return a json response. --- app/controllers/v1/licenses_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/controllers') diff --git a/app/controllers/v1/licenses_controller.rb b/app/controllers/v1/licenses_controller.rb index 0a076c8..c62c78b 100644 --- a/app/controllers/v1/licenses_controller.rb +++ b/app/controllers/v1/licenses_controller.rb @@ -10,7 +10,7 @@ class V1::LicensesController < ApplicationController def show @license = License.find(params[:id]) - render nothing: true + render json: @license end private -- cgit v1.2.3