dmails: remove unused edit template and update route.

This commit is contained in:
evazion
2017-02-23 19:46:33 -06:00
parent 2d8a7ed93b
commit 865211b0b5
2 changed files with 1 additions and 13 deletions

View File

@@ -1,12 +0,0 @@
<div id="c-dmails">
<div id="a-edit">
<h1>Edit Message</h1>
<%= render "form", :dmail => @dmail %>
</div>
</div>
<%= render "secondary_links" %>
<% content_for(:page_title) do %>
Edit Message - <%= Danbooru.config.app_name %>
<% end %>

View File

@@ -110,7 +110,7 @@ Rails.application.routes.draw do
end
end
resources :delayed_jobs, :only => [:index]
resources :dmails do
resources :dmails, :only => [:new, :create, :index, :show, :destroy] do
collection do
get :search
post :mark_all_as_read