Correct docstring for AnnouncementController.show
This commit is contained in:
parent
2b39b36e49
commit
009817c9ee
|
@ -60,7 +60,7 @@ def mark_read(%{assigns: %{user: user}} = conn, %{id: id} = _params) do
|
|||
end
|
||||
end
|
||||
|
||||
@doc "POST /api/v1/announcements/:id"
|
||||
@doc "GET /api/v1/announcements/:id"
|
||||
def show(%{assigns: %{user: user}} = conn, %{id: id} = _params) do
|
||||
render_announcement_by_id(conn, id, user)
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue