diff --git a/app/views/static/site_map.html.erb b/app/views/static/site_map.html.erb index 080880015..a2b436e8e 100644 --- a/app/views/static/site_map.html.erb +++ b/app/views/static/site_map.html.erb @@ -80,7 +80,7 @@ <% if CurrentUser.is_admin? %> diff --git a/config/routes.rb b/config/routes.rb index 547d46765..36705ce40 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,6 +1,6 @@ Danbooru::Application.routes.draw do namespace :admin do - resources :users, :only => [:get, :put, :destroy] + resources :users, :only => [:index, :get, :put, :destroy] end namespace :moderator do resource :dashboard, :only => [:show]