emails: add /emails index page.

Add emails index page at https://danbooru.donmai.us/emails. Mods can use
this page to view and search emails belonging to users below mod level.
This commit is contained in:
evazion
2020-12-13 21:02:12 -06:00
parent 67eefadd7f
commit 2e633f84f6
7 changed files with 90 additions and 1 deletions

View File

@@ -103,6 +103,7 @@ Rails.application.routes.draw do
end
resource :dtext_preview, :only => [:create]
resources :dtext_links, only: [:index]
resources :emails, only: [:index, :show]
resources :favorites, :only => [:index, :create, :destroy]
resources :favorite_groups do
member do