remove actions from clothes controller
fix sentry issue POKEMON-COUTURE-1
This commit is contained in:
parent
ee21d34e02
commit
7a3c829e6a
|
@ -22,7 +22,7 @@ defmodule PokemonCoutureWeb.Router do
|
||||||
pipe_through :browser
|
pipe_through :browser
|
||||||
|
|
||||||
get "/", PageController, :index
|
get "/", PageController, :index
|
||||||
resources "/clothes", ClothesController
|
resources "/clothes", ClothesController, only: [:index, :show]
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -1,23 +0,0 @@
|
||||||
<%= form_for @changeset, @action, fn f -> %>
|
|
||||||
<%= if @changeset.action do %>
|
|
||||||
<div class="alert alert-danger">
|
|
||||||
<p>Oops, something went wrong! Please check the errors below.</p>
|
|
||||||
</div>
|
|
||||||
<% end %>
|
|
||||||
|
|
||||||
<%= label f, :name %>
|
|
||||||
<%= text_input f, :name %>
|
|
||||||
<%= error_tag f, :name %>
|
|
||||||
|
|
||||||
<%= label f, :location %>
|
|
||||||
<%= text_input f, :location %>
|
|
||||||
<%= error_tag f, :location %>
|
|
||||||
|
|
||||||
<%= label f, :game %>
|
|
||||||
<%= text_input f, :game %>
|
|
||||||
<%= error_tag f, :game %>
|
|
||||||
|
|
||||||
<div>
|
|
||||||
<%= submit "Save" %>
|
|
||||||
</div>
|
|
||||||
<% end %>
|
|
Loading…
Reference in New Issue