Skip to content
Snippets Groups Projects
Commit 2fe73c47 authored by Mauricio Giacomini Girardello's avatar Mauricio Giacomini Girardello
Browse files

remove authorization for LearningObjectsController#show requests

parent 18e635fc
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,7 @@ class V1::LearningObjectsController < ApplicationController
before_action :authenticate_user!, except: [:index, :show]
before_action :set_learning_object, only: [:show, :update, :destroy]
before_action :authorize!, only: [:show, :update, :destroy]
before_action :authorize!, only: [:update, :destroy]
def index
limit = params[:limit] || 10
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment