diff options
author | Eric Davis <edavis@littlestreamsoftware.com> | 2010-04-28 15:54:46 +0000 |
---|---|---|
committer | Eric Davis <edavis@littlestreamsoftware.com> | 2010-04-28 15:54:46 +0000 |
commit | e65c3cfc7df3da58071c8de158c98861dab7d852 (patch) | |
tree | e2ce1076fba209a370e49888eac588731e927f2f /app/views | |
parent | a925435b294331079b65e96d2480bb99d1c6f109 (diff) | |
download | redmine-e65c3cfc7df3da58071c8de158c98861dab7d852.tar.gz redmine-e65c3cfc7df3da58071c8de158c98861dab7d852.zip |
Refactor: Move gantts to a separate controller.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3695 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/gantts/show.html.erb (renamed from app/views/issues/gantt.rhtml) | 0 | ||||
-rw-r--r-- | app/views/issues/_sidebar.rhtml | 2 | ||||
-rw-r--r-- | app/views/projects/show.rhtml | 2 |
3 files changed, 2 insertions, 2 deletions
diff --git a/app/views/issues/gantt.rhtml b/app/views/gantts/show.html.erb index f0c6f4622..f0c6f4622 100644 --- a/app/views/issues/gantt.rhtml +++ b/app/views/gantts/show.html.erb diff --git a/app/views/issues/_sidebar.rhtml b/app/views/issues/_sidebar.rhtml index 2296cc8e9..bcf0837f8 100644 --- a/app/views/issues/_sidebar.rhtml +++ b/app/views/issues/_sidebar.rhtml @@ -9,7 +9,7 @@ <%= link_to(l(:label_calendar), :controller => 'issues', :action => 'calendar', :project_id => @project) %><br /> <% end %> <% if User.current.allowed_to?(:view_gantt, @project, :global => true) %> - <%= link_to(l(:label_gantt), :controller => 'issues', :action => 'gantt', :project_id => @project) %><br /> + <%= link_to(l(:label_gantt), :controller => 'gantts', :action => 'show', :project_id => @project) %><br /> <% end %> <%= call_hook(:view_issues_sidebar_planning_bottom) %> diff --git a/app/views/projects/show.rhtml b/app/views/projects/show.rhtml index e98c3504c..909c876fc 100644 --- a/app/views/projects/show.rhtml +++ b/app/views/projects/show.rhtml @@ -42,7 +42,7 @@ | <%= link_to(l(:label_calendar), :controller => 'issues', :action => 'calendar', :project_id => @project) %> <% end %> <% if User.current.allowed_to?(:view_gantt, @project, :global => true) %> - | <%= link_to(l(:label_gantt), :controller => 'issues', :action => 'gantt', :project_id => @project) %> + | <%= link_to(l(:label_gantt), :controller => 'gantts', :action => 'show', :project_id => @project) %> <% end %> </p> </div> |