fixes #16: Site map link broken
This commit is contained in:
@@ -80,7 +80,7 @@
|
||||
<% if CurrentUser.is_admin? %>
|
||||
<ul>
|
||||
<li><h1>Admin</h1></li>
|
||||
<li><%= link_to("Edit User", admin_users_edit_path) %></li>
|
||||
<li><%= link_to("User", admin_users_path) %></li>
|
||||
<li><%= link_to("Janitor Trials", janitor_trials_path) %></li>
|
||||
<li><%= link_to("IP Bans", ip_bans_path) %></li>
|
||||
</ul>
|
||||
|
||||
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user