dmails: remove unused edit template and update route.
This commit is contained in:
@@ -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 %>
|
|
||||||
@@ -110,7 +110,7 @@ Rails.application.routes.draw do
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
resources :delayed_jobs, :only => [:index]
|
resources :delayed_jobs, :only => [:index]
|
||||||
resources :dmails do
|
resources :dmails, :only => [:new, :create, :index, :show, :destroy] do
|
||||||
collection do
|
collection do
|
||||||
get :search
|
get :search
|
||||||
post :mark_all_as_read
|
post :mark_all_as_read
|
||||||
|
|||||||
Reference in New Issue
Block a user