日志查看路由

This commit is contained in:
lizanle 2015-01-19 14:06:52 +08:00
commit 027f6592ef
1 changed files with 7 additions and 1 deletions

View File

@ -26,7 +26,7 @@
# Example: :via => :get ====> :via => :get # Example: :via => :get ====> :via => :get
RedmineApp::Application.routes.draw do RedmineApp::Application.routes.draw do
#match '/contests/:id/contestnotifications', :controller => 'contestnotifications', :action => 'index' #match '/contests/:id/contestnotifications', :controller => 'contestnotifications', :action => 'index'
@ -818,6 +818,12 @@ RedmineApp::Application.routes.draw do
match 'words/add_brief_introdution' match 'words/add_brief_introdution'
##added by lizanle 日志查看路由
match 'system_log/index'
match "/system_log" ,:to => 'system_log#index'
match 'system_log/clear'
##ended by lizanle
Dir.glob File.expand_path("plugins/*", Rails.root) do |plugin_dir| Dir.glob File.expand_path("plugins/*", Rails.root) do |plugin_dir|
file = File.join(plugin_dir, "config/routes.rb") file = File.join(plugin_dir, "config/routes.rb")