Commit bf657a05 authored by jz143's avatar jz143

simplied delete button logic

NOTE - the actual app files and app_file records are not deleted!
parent 8d666e61
...@@ -2,5 +2,7 @@ ...@@ -2,5 +2,7 @@
Please register or sign in to reply
<%= render 'form' %> <%= render 'form' %>
<%= link_to "Delete App", app_path(@app), method: :delete, class: "btn btn-danger", data: { confirm: 'Are you certain you want to delete this app?' } %>
<%= link_to 'Show', @app %> | <%= link_to 'Show', @app %> |
<%= link_to 'Back', apps_path %> <%= link_to 'Back', apps_path %>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment