From c9438970cefb97297181302f964a0a67b206906c Mon Sep 17 00:00:00 2001 From: albert Date: Tue, 13 Sep 2011 19:20:28 -0400 Subject: [PATCH] fixes #16: Site map link broken --- app/views/static/site_map.html.erb | 2 +- config/routes.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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]