mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-28 05:57:58 +01:00
13 lines
351 B
Elixir
13 lines
351 B
Elixir
|
defmodule PhilomenaWeb.Image.Comment.DeleteController do
|
||
|
use PhilomenaWeb, :controller
|
||
|
|
||
|
alias Philomena.Comments.Comment
|
||
|
alias Philomena.Comments
|
||
|
|
||
|
plug PhilomenaWeb.CanaryMapPlug, create: :hide, delete: :hide
|
||
|
plug :load_and_authorize_resource, model: Comment, id_name: "comment_id", persisted: true
|
||
|
|
||
|
def delete(conn, _params) do
|
||
|
end
|
||
|
end
|