summaryrefslogtreecommitdiff
path: root/lib/aggiedit_web/live/post_live/index.html.heex
diff options
context:
space:
mode:
authorLogan Hunt <loganhunt@simponic.xyz>2022-04-07 15:52:32 -0600
committerLogan Hunt <loganhunt@simponic.xyz>2022-04-07 15:52:32 -0600
commit55858eb9ca9d93c8ffa8fafd4c5d965b602326be (patch)
treef4e511ae8345abd2f96e3271fae3a085b4056001 /lib/aggiedit_web/live/post_live/index.html.heex
parented22eb20f9f320d5ded4951c16fbb867b6883ce1 (diff)
downloadaggiedit-55858eb9ca9d93c8ffa8fafd4c5d965b602326be.tar.gz
aggiedit-55858eb9ca9d93c8ffa8fafd4c5d965b602326be.zip
Attach upload, room, user to post
Diffstat (limited to 'lib/aggiedit_web/live/post_live/index.html.heex')
-rw-r--r--lib/aggiedit_web/live/post_live/index.html.heex1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/aggiedit_web/live/post_live/index.html.heex b/lib/aggiedit_web/live/post_live/index.html.heex
index 4297d5a..1804971 100644
--- a/lib/aggiedit_web/live/post_live/index.html.heex
+++ b/lib/aggiedit_web/live/post_live/index.html.heex
@@ -3,6 +3,7 @@
<%= if @live_action in [:new, :edit] do %>
<.modal return_to={Routes.post_index_path(@socket, :index)}>
<.live_component
+ current_user={@current_user}
module={AggieditWeb.PostLive.FormComponent}
id={@post.id || :new}
title={@page_title}