diff options
| author | mo khan <mo@mokhan.ca> | 2014-02-20 19:52:51 -0700 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2014-02-20 19:52:51 -0700 |
| commit | cdfc77e265a9720d5a6207447b84629940e3efa0 (patch) | |
| tree | f8b4e6513bd178c0219527e97616d449211e62a4 /app/controllers/v1 | |
| parent | 60f1cea60b2ba69c21620eb244a0d7c102859830 (diff) | |
create show action.
Diffstat (limited to 'app/controllers/v1')
| -rw-r--r-- | app/controllers/v1/licenses_controller.rb | 5 |
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 |
