Fix admin side paths to point back to admin not index.
This commit is contained in:
@@ -2,4 +2,4 @@
|
|||||||
|
|
||||||
<%= render "form.html", Map.put(assigns, :action, Routes.admin_index_path(@conn, :update, @index)) %>
|
<%= render "form.html", Map.put(assigns, :action, Routes.admin_index_path(@conn, :update, @index)) %>
|
||||||
|
|
||||||
<span><%= link "Takaisin", to: Routes.index_path(@conn, :index) %></span>
|
<span><%= link "Takaisin", to: Routes.admin_index_path(@conn, :admin) %></span>
|
||||||
|
|||||||
@@ -3,5 +3,5 @@
|
|||||||
|
|
||||||
<%= render "form.html", Map.put(assigns, :action, Routes.admin_index_path(@conn, :create)) %>
|
<%= render "form.html", Map.put(assigns, :action, Routes.admin_index_path(@conn, :create)) %>
|
||||||
|
|
||||||
<span><%= link "Takaisin", to: Routes.index_path(@conn, :index) %></span>
|
<span><%= link "Takaisin", to: Routes.admin_index_path(@conn, :admin) %></span>
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
@@ -16,5 +16,5 @@
|
|||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<span><%= link "Muokkaa", to: Routes.admin_index_path(@conn, :edit, @index) %></span>
|
<span><%= link "Muokkaa", to: Routes.admin_index_path(@conn, :edit, @index) %></span>
|
||||||
<span><%= link "Takaisin", to: Routes.index_path(@conn, :index) %></span>
|
<span><%= link "Takaisin", to: Routes.admin_index_path(@conn, :admin) %></span>
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
@@ -2,4 +2,4 @@
|
|||||||
|
|
||||||
<%= render "form.html", Map.put(assigns, :action, Routes.admin_performance_path(@conn, :update, @performance)) %>
|
<%= render "form.html", Map.put(assigns, :action, Routes.admin_performance_path(@conn, :update, @performance)) %>
|
||||||
|
|
||||||
<span><%= link "Takaisin", to: Routes.performance_path(@conn, :index) %></span>
|
<span><%= link "Takaisin", to: Routes.admin_performance_path(@conn, :admin) %></span>
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
<h1>Luo näytös</h1>
|
<section class="main">
|
||||||
|
<h1>Luo näytös</h1>
|
||||||
|
|
||||||
<%= render "form.html", Map.put(assigns, :action, Routes.admin_performance_path(@conn, :create)) %>
|
<%= render "form.html", Map.put(assigns, :action, Routes.admin_performance_path(@conn, :create)) %>
|
||||||
|
|
||||||
<span><%= link "Takaisin", to: Routes.performance_path(@conn, :index) %></span>
|
<span><%= link "Takaisin", to: Routes.admin_performance_path(@conn, :admin) %></span>
|
||||||
|
</section>
|
||||||
|
|||||||
@@ -16,5 +16,5 @@
|
|||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<span><%= link "Muokkaa", to: Routes.admin_performance_path(@conn, :edit, @performance) %></span>
|
<span><%= link "Muokkaa", to: Routes.admin_performance_path(@conn, :edit, @performance) %></span>
|
||||||
<span><%= link "Takaisin", to: Routes.performance_path(@conn, :index) %></span>
|
<span><%= link "Takaisin", to: Routes.admin_performance_path(@conn, :admin) %></span>
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
@@ -2,4 +2,4 @@
|
|||||||
|
|
||||||
<%= render "form.html", Map.put(assigns, :action, Routes.admin_performer_path(@conn, :update, @performer)) %>
|
<%= render "form.html", Map.put(assigns, :action, Routes.admin_performer_path(@conn, :update, @performer)) %>
|
||||||
|
|
||||||
<span><%= link "Takaisin", to: Routes.performer_path(@conn, :index) %></span>
|
<span><%= link "Takaisin", to: Routes.admin_performer_path(@conn, :admin) %></span>
|
||||||
|
|||||||
@@ -2,4 +2,6 @@
|
|||||||
<h1>Luo esiintyjä</h1>
|
<h1>Luo esiintyjä</h1>
|
||||||
|
|
||||||
<%= render "form.html", Map.put(assigns, :action, Routes.admin_performer_path(@conn, :create)) %>
|
<%= render "form.html", Map.put(assigns, :action, Routes.admin_performer_path(@conn, :create)) %>
|
||||||
|
|
||||||
|
<span><%= link "Takaisin", to: Routes.admin_performer_path(@conn, :admin) %></span>
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
@@ -26,5 +26,5 @@
|
|||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<span><%= link "Muokkaa", to: Routes.admin_performer_path(@conn, :edit, @performer) %></span>
|
<span><%= link "Muokkaa", to: Routes.admin_performer_path(@conn, :edit, @performer) %></span>
|
||||||
<span><%= link "Takaisin", to: Routes.performer_path(@conn, :index) %></span>
|
<span><%= link "Takaisin", to: Routes.admin_performer_path(@conn, :admin) %></span>
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
Reference in New Issue
Block a user