Skip to content

Commit

Permalink
things do use this endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
drusepth committed Jun 22, 2024
1 parent 11febb8 commit 5f4dcc7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/controllers/documents_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,6 @@ def edit
.group_by(&:entity_type)
end

# Todo does anything actually use this endpoint?
def create
created_document = current_user.documents.create(document_params)
redirect_to edit_document_path(created_document), notice: "Your document has been saved!"
Expand Down

0 comments on commit 5f4dcc7

Please sign in to comment.