Media UI v1 (#17)

* Updated comments

* Added basic media tables to sources#show

* Adds a very basic listing and show page for media
This commit is contained in:
Kieran
2024-02-09 16:21:51 -08:00
committed by GitHub
parent dabec62e99
commit 8bdd189fa5
8 changed files with 102 additions and 2 deletions
@@ -0,0 +1,11 @@
defmodule PinchflatWeb.Media.MediaItemController do
use PinchflatWeb, :controller
alias Pinchflat.Media
def show(conn, %{"id" => id}) do
media_item = Media.get_media_item!(id)
render(conn, :show, media_item: media_item)
end
end