add admin user interface

This commit is contained in:
albert
2011-09-13 19:37:24 -04:00
parent c9438970ce
commit 010f210345
6 changed files with 48 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
Danbooru::Application.routes.draw do
namespace :admin do
resources :users, :only => [:index, :get, :put, :destroy]
resources :users, :only => [:edit, :update]
end
namespace :moderator do
resource :dashboard, :only => [:show]