edit comment and pdf export
This commit is contained in:
parent
110d75f2b7
commit
c36230b8ba
10 changed files with 90 additions and 19 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue