diff --git a/app/controllers/system_log_controller.rb b/app/controllers/system_log_controller.rb index 8974f8810..eb62140f9 100644 --- a/app/controllers/system_log_controller.rb +++ b/app/controllers/system_log_controller.rb @@ -1,7 +1,7 @@ # 显示和清理系统日志 class SystemLogController < ApplicationController - before_filter :require_login + before_filter :require_admin # 默认每页显示20条记录 PER_PAGE = 20 layout "base"