View comments for draft text

This commit is contained in:
Amaia Castro
2017-01-10 17:25:02 +01:00
parent 7d8c3bd39c
commit 4f539b374f
11 changed files with 112 additions and 3 deletions

View File

@@ -32,6 +32,10 @@ class Legislation::AnnotationsController < ApplicationController
render json: annotations_hash.to_json
end
def comments
@annotation = Legislation::Annotation.find(params[:annotation_id])
end
private
def annotation_params