Revision 4232
Added by Eric Davis over 14 years ago
routes.rb | ||
---|---|---|
30 | 30 |
time_details.connect 'projects/:project_id/issues/:issue_id/time_entries' |
31 | 31 |
time_details.connect 'projects/:project_id/issues/:issue_id/time_entries.:format' |
32 | 32 |
end |
33 |
timelog.connect 'projects/:project_id/time_entries/report', :action => 'report' |
|
34 |
timelog.with_options :action => 'report',:conditions => {:method => :get} do |time_report| |
|
33 |
timelog.connect 'projects/:project_id/time_entries/report', :controller => 'time_entry_reports', :action => 'report'
|
|
34 |
timelog.with_options :controller => 'time_entry_reports', :action => 'report',:conditions => {:method => :get} do |time_report|
|
|
35 | 35 |
time_report.connect 'time_entries/report' |
36 | 36 |
time_report.connect 'time_entries/report.:format' |
37 | 37 |
time_report.connect 'projects/:project_id/time_entries/report.:format' |
Also available in: Unified diff
Refactor: extract TimelogController#report to a new controller class