diff --git a/lib/phoenixRealWorld_web/live/article_live/index.html.heex b/lib/phoenixRealWorld_web/live/article_live/index.html.heex index 68f93a1..38dfa69 100644 --- a/lib/phoenixRealWorld_web/live/article_live/index.html.heex +++ b/lib/phoenixRealWorld_web/live/article_live/index.html.heex @@ -1,6 +1,6 @@ <.header> Listing Articles - <:actions> + <:actions :if={@current_user}> <.link patch={~p"/articles/new"}> <.button>New Article