From 7a2732417cebbcbaa6a7ca61cf93d1b606388752 Mon Sep 17 00:00:00 2001 From: alexdbondoc17 Date: Mon, 28 Feb 2022 06:01:45 +0000 Subject: [PATCH] Fix `doctrine#show` bug --- app/components/annotation_marks_modal_form_component.rb | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/app/components/annotation_marks_modal_form_component.rb b/app/components/annotation_marks_modal_form_component.rb index 7f5f541..90f3989 100644 --- a/app/components/annotation_marks_modal_form_component.rb +++ b/app/components/annotation_marks_modal_form_component.rb @@ -1,4 +1,6 @@ class AnnotationMarksModalFormComponent < BaseComponent - - def initialize(current_user:); end -end \ No newline at end of file + attr_reader :opts + def initialize(current_user:, opts: {}) + @opts = opts + end +end