summaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2014-02-20 19:59:23 -0700
committermo khan <mo@mokhan.ca>2014-02-20 19:59:23 -0700
commit148724f3b057a0790be5386de23103db24a812eb (patch)
treeafab0ec86cb52d1db78613bddb4e6750ad83b80a /app/controllers
parent2fcaf253098ddd61bb5af6e96ddb93d331552d25 (diff)
return a json response.
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/v1/licenses_controller.rb2
1 files changed, 1 insertions, 1 deletions
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