edit comment and pdf export
Some checks failed
/ Run tests (push) Successful in 2m6s
/ Run system tests (push) Failing after 2m29s
/ Build, push and deploy image (push) Successful in 1m46s

This commit is contained in:
david 2024-11-23 21:11:01 +01:00
parent 110d75f2b7
commit c36230b8ba
10 changed files with 90 additions and 19 deletions

View file

@ -2,7 +2,7 @@
class SuccessCriteriaController < ApplicationController
before_action :set_element, only: %i[new create index new_from_checklist create_from_checklist]
before_action :set_success_criterion, only: %i[show edit update destroy]
before_action :set_success_criterion, only: %i[show edit update destroy edit_comment]
# GET /success_criteria
def index
@ -108,6 +108,10 @@ class SuccessCriteriaController < ApplicationController
end
end
def edit_comment
render_modal()
end
private
# Use callbacks to share common setup or constraints between actions.