Skip to content
Snippets Groups Projects
Commit be7b1f60 authored by Marcela Ribeiro de Oliveira's avatar Marcela Ribeiro de Oliveira
Browse files

set_collection to be subjectable and stageable

parent 264e85ee
No related branches found
No related tags found
No related merge requests found
......@@ -83,8 +83,8 @@ class V1::CollectionsController < ApplicationController
def followable; set_collection; end
def taggable; set_collection; end
def sociable; set_collection; end
def subjectable; set_learning_object; end
def stageable; set_learning_object; end
def subjectable; set_collection; end
def stageable; set_collection; end
def set_collection
@collection ||= Collection.find(params[:id])
......
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