From 6b44611665fc47b565c4d71c7404b66fd9dfb1f5 Mon Sep 17 00:00:00 2001 From: Sajal Sharma Date: Fri, 22 Mar 2019 11:50:39 +0530 Subject: [PATCH] change post_path to topic_path the project was not compiling --- react-phoenix/web/templates/post/index.html.eex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/react-phoenix/web/templates/post/index.html.eex b/react-phoenix/web/templates/post/index.html.eex index d17ce1d..7b363b2 100644 --- a/react-phoenix/web/templates/post/index.html.eex +++ b/react-phoenix/web/templates/post/index.html.eex @@ -15,7 +15,7 @@
- <%= link to: post_path(@conn, :new), class: "btn-floating btn-large waves-effect waves-light red" do %> + <%= link to: topic_path(@conn, :new), class: "btn-floating btn-large waves-effect waves-light red" do %> add <% end %>