redmine_schedules_1.4.patch

Jonathan Himbing, 2012-06-21 09:43

Download (1.97 KB)

View differences:

/Users/nathanjo/Downloads/alexbevi-redmine-schedules-plugin-59f4ea7/config/routes.rb 2011-08-01 12:05:38.000000000 +0800
1 1
ActionController::Routing::Routes.draw do |map|
2
  map.connect 'schedules', :controller => 'schedules', :action => 'index'
3
  map.connect 'schedules/users', :controller => 'schedules', :action => 'users'
4
  map.connect 'schedules/projects', :controller => 'schedules', :action => 'projects'
5
  map.connect 'schedules/edit', :controller => 'schedules', :action => 'edit' 
6
  map.connect 'schedules/report', :controller => 'schedules', :action => 'report' 
7
  map.connect 'schedules/details', :controller => 'schedules', :action => 'details'
8
  map.connect 'schedules/fill', :controller => 'schedules', :action => 'fill' 
2
  map.connect 'projects/:project_id/schedules', :controller => 'schedules', :action => 'index' 
3
  map.connect 'projects/:project_id/schedules/edit', :controller => 'schedules', :action => 'edit' 
4
  map.connect 'projects/:project_id/schedules/report', :controller => 'schedules', :action => 'report' 
5
  map.connect 'projects/:project_id/schedules/details', :controller => 'schedules', :action => 'details'
6
  map.connect 'projects/:project_id/schedules/fill', :controller => 'schedules', :action => 'fill' 
9 7
  map.connect 'account/schedule/:user_id', :controller => 'schedules', :action => 'index'
10 8
  map.connect 'account/schedule/:user_id/edit', :controller => 'schedules', :action => 'edit'
11 9
  map.connect 'account/schedule/:user_id/default', :controller => 'schedules', :action => 'default'
12
  map.connect 'my/schedule/:user_id', :controller => 'schedules', :action => 'my_index', :user_id => nil, :project_id => nil
10
  map.connect 'my/schedule', :controller => 'schedules', :action => 'my_index'
13 11
end