Admin actions behind admin path.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<h1>New Location</h1>
|
||||
|
||||
<%= render "form.html", Map.put(assigns, :action, Routes.location_path(@conn, :create)) %>
|
||||
<%= render "form.html", Map.put(assigns, :action, Routes.admin_location_path(@conn, :create)) %>
|
||||
|
||||
<span><%= link "Back", to: Routes.location_path(@conn, :index) %></span>
|
||||
|
||||
Reference in New Issue
Block a user