Browse Source

refact: dinamically link the howto page

danilo silva 3 years ago
parent
commit
06756188dc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/openpod_web/templates/page/index.html.eex

+ 1 - 1
lib/openpod_web/templates/page/index.html.eex

@@ -44,7 +44,7 @@
         </div>
         <div class="col-12 col-md-8 d-flex align-items-center">
           <h3 class="my-md-3 my-0 pb-3 pb-md-0 text-center">
-            <a href="/howto">Come caricare correttamente il tuo podcast su archive.org?</a>
+            <%= link "Come caricare correttamente il tuo podcast su archive.org?", to: Routes.page_path(@conn, :howto) %>
           </h3>
         </div>
       </div>