summaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2014-02-20 19:52:51 -0700
committermo khan <mo@mokhan.ca>2014-02-20 19:52:51 -0700
commitcdfc77e265a9720d5a6207447b84629940e3efa0 (patch)
treef8b4e6513bd178c0219527e97616d449211e62a4 /app/controllers
parent60f1cea60b2ba69c21620eb244a0d7c102859830 (diff)
create show action.
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/v1/licenses_controller.rb5
1 files changed, 5 insertions, 0 deletions
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