Add menu link for properties

This commit is contained in:
Joao Gilberto Balsini Moura 2020-09-14 13:34:31 -03:00
parent 465045bbb5
commit 8e548cfa5a

View file

@ -14,7 +14,7 @@
<section class="container"> <section class="container">
<nav role="navigation"> <nav role="navigation">
<ul> <ul>
<li><a href="https://hexdocs.pm/phoenix/overview.html">Get Started</a></li> <li><%= link "Properties", to: Routes.property_index_path(@conn, :index) %></li>
<%= if function_exported?(Routes, :live_dashboard_path, 2) do %> <%= if function_exported?(Routes, :live_dashboard_path, 2) do %>
<li><%= link "LiveDashboard", to: Routes.live_dashboard_path(@conn, :home) %></li> <li><%= link "LiveDashboard", to: Routes.live_dashboard_path(@conn, :home) %></li>
<% end %> <% end %>