summaryrefslogtreecommitdiff
path: root/app/controllers/v1/licenses_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/v1/licenses_controller.rb')
-rw-r--r--app/controllers/v1/licenses_controller.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/controllers/v1/licenses_controller.rb b/app/controllers/v1/licenses_controller.rb
index c62c78b..8966100 100644
--- a/app/controllers/v1/licenses_controller.rb
+++ b/app/controllers/v1/licenses_controller.rb
@@ -5,12 +5,10 @@ class V1::LicensesController < ApplicationController
def index
@licenses = License.most_recent(page: @page, per_page: @per_page)
- render json: @licenses
end
def show
@license = License.find(params[:id])
- render json: @license
end
private