From cdfc77e265a9720d5a6207447b84629940e3efa0 Mon Sep 17 00:00:00 2001 From: mo khan Date: Thu, 20 Feb 2014 19:52:51 -0700 Subject: create show action. --- app/controllers/v1/licenses_controller.rb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'app/controllers') diff --git a/app/controllers/v1/licenses_controller.rb b/app/controllers/v1/licenses_controller.rb index 36ae54c..0a076c8 100644 --- a/app/controllers/v1/licenses_controller.rb +++ b/app/controllers/v1/licenses_controller.rb @@ -8,6 +8,11 @@ class V1::LicensesController < ApplicationController render json: @licenses end + def show + @license = License.find(params[:id]) + render nothing: true + end + private def prepare_pagination -- cgit v1.2.3