aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2014-11-07 15:50:17 +0000
committerLouise Crow <louise.crow@gmail.com>2014-12-18 14:03:49 +0000
commit958895684ea51aee06bcc0abc795eb76017af7f0 (patch)
tree99faae05770c147e8719027e3c27c6a80018bc55 /app/controllers
parent17f7352a42554fb13baf43e63f116ca828553047 (diff)
Use RESTful route for banned user list
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/admin_user_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/admin_user_controller.rb b/app/controllers/admin_user_controller.rb
index 3379b9629..6031c816b 100644
--- a/app/controllers/admin_user_controller.rb
+++ b/app/controllers/admin_user_controller.rb
@@ -46,7 +46,7 @@ class AdminUserController < AdminController
end
end
- def list_banned
+ def banned
@banned_users = User.paginate :order => "name", :page => params[:page], :per_page => 100,
:conditions => ["ban_text <> ''"]
end