|
|
|
@ -113,16 +113,16 @@ RedmineApp::Application.routes.draw do
|
|
|
|
|
resources :projects do
|
|
|
|
|
member do
|
|
|
|
|
get 'settings(/:tab)', :action => 'settings', :as => 'settings'
|
|
|
|
|
get 'show', :action => 'show', :as => 'project_show'
|
|
|
|
|
get 'activity', :controller => 'activities', :action => 'index', :as => 'activity'
|
|
|
|
|
get 'repository', :controller => 'repositories', :action => 'show', :repository_id => nil, :path => nil, :rev => nil, :as => 'repository'
|
|
|
|
|
# get 'show', :action => 'show', :as => 'project_show'
|
|
|
|
|
# get 'activity', :controller => 'activities', :action => 'index', :as => 'activity'
|
|
|
|
|
# get 'repository', :controller => 'repositories', :action => 'show', :repository_id => nil, :path => nil, :rev => nil, :as => 'repository'
|
|
|
|
|
#by young
|
|
|
|
|
get 'member', :controller => 'projects', :action => 'member', :as => 'member'
|
|
|
|
|
get 'focus', :action => 'focus', :as => 'focus'
|
|
|
|
|
get 'investor', :action => 'investor', :as => 'investor'
|
|
|
|
|
# get 'focus', :action => 'focus', :as => 'focus'
|
|
|
|
|
# get 'investor', :action => 'investor', :as => 'investor'
|
|
|
|
|
# get 'issue', :action =>'issue', :as => 'issue'
|
|
|
|
|
get 'mission', :action => 'mission', :as => 'mission'
|
|
|
|
|
get 'on', :action => 'on', :as => 'on'
|
|
|
|
|
# get 'mission', :action => 'mission', :as => 'mission'
|
|
|
|
|
# get 'on', :action => 'on', :as => 'on'
|
|
|
|
|
get 'file', :action => 'file', :as => 'file'
|
|
|
|
|
#end
|
|
|
|
|
|
|
|
|
@ -136,18 +136,18 @@ RedmineApp::Application.routes.draw do
|
|
|
|
|
|
|
|
|
|
#by young
|
|
|
|
|
match '/member', :controller => 'projects', :action => 'member', :as => 'member', :via => :get
|
|
|
|
|
match '/focus', :controller => 'projects', :action => 'focus', :as => 'focus', :via => :get
|
|
|
|
|
match '/mission', :controller => 'projects', :action => 'mission', :as => 'mission', :via => :get
|
|
|
|
|
match '/on', :controller => 'projects', :action => 'on', :as => 'on', :via => :get
|
|
|
|
|
match '/settings(/:tab)', :controller => 'projects', :action => 'settings', :as => 'settings', :via => :get
|
|
|
|
|
# match '/focus', :controller => 'projects', :action => 'focus', :as => 'focus', :via => :get
|
|
|
|
|
# match '/mission', :controller => 'projects', :action => 'mission', :as => 'mission', :via => :get
|
|
|
|
|
# match '/on', :controller => 'projects', :action => 'on', :as => 'on', :via => :get
|
|
|
|
|
# match '/settings(/:tab)', :controller => 'projects', :action => 'settings', :as => 'settings', :via => :get
|
|
|
|
|
match '/file', :controller => 'projects', :action => 'file', :as => 'file', :via => :get
|
|
|
|
|
match '/investor', :controller => 'projects', :action => 'investor', :as => 'investor', :via => :get
|
|
|
|
|
# match '/investor', :controller => 'projects', :action => 'investor', :as => 'investor', :via => :get
|
|
|
|
|
|
|
|
|
|
match '/activity', :controller => 'activities', :action => 'index', :as => 'activity', :via => :get
|
|
|
|
|
match '/repository', :controller => 'repositories', :action => 'show', :repository_id => nil, :path => nil, :rev => nil, :as => 'repository', :via => :get
|
|
|
|
|
match '/', :controller => 'projects', :action => 'show', :as => 'project_show', :via => :get
|
|
|
|
|
get 'projects/:project_id/show', :to => 'projects#show', :as => 'project_show'
|
|
|
|
|
get 'projects/:project_id/repository', :to => 'repositories#show', :as => 'project_repository'
|
|
|
|
|
# match '/activity', :controller => 'activities', :action => 'index', :as => 'activity', :via => :get
|
|
|
|
|
# match '/repository', :controller => 'repositories', :action => 'show', :repository_id => nil, :path => nil, :rev => nil, :as => 'repository', :via => :get
|
|
|
|
|
# match '/', :controller => 'projects', :action => 'show', :as => 'project_show', :via => :get
|
|
|
|
|
# get 'projects/:project_id/show', :to => 'projects#show', :as => 'project_show'
|
|
|
|
|
# get 'projects/:project_id/repository', :to => 'repositories#show', :as => 'project_repository'
|
|
|
|
|
|
|
|
|
|
# match '/show', :controller => 'projects', :action => 'show', :as => 'project_show', :via => :get
|
|
|
|
|
|
|
|
|
|