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

adding reviews controller

parent 2286f8a2
No related branches found
No related tags found
No related merge requests found
class V1::ReviewsController < ApplicationController
include ::ReviewableController
protected
def reviewable
set_collection
end
def set_collection
@collection ||= Collection.find(params[:collection_id])
end
end
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