Correct docstring for AnnouncementController.show
This commit is contained in:
parent
2b39b36e49
commit
009817c9ee
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue