diff options
author | Eric Davis <edavis@littlestreamsoftware.com> | 2010-08-26 16:36:59 +0000 |
---|---|---|
committer | Eric Davis <edavis@littlestreamsoftware.com> | 2010-08-26 16:36:59 +0000 |
commit | 56e984b5e740398d0659432ecdee770de1943e84 (patch) | |
tree | 32025556b99832154c2f1680f9ad198446e95491 /app/views/gantts | |
parent | daa4272c0e7f657a0070424224cabccbbeca6197 (diff) | |
download | redmine-56e984b5e740398d0659432ecdee770de1943e84.tar.gz redmine-56e984b5e740398d0659432ecdee770de1943e84.zip |
Refactor: convert many of the custom Issue routes to REST resources.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4041 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/gantts')
-rw-r--r-- | app/views/gantts/show.html.erb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/gantts/show.html.erb b/app/views/gantts/show.html.erb index 653a41d41..5d4ef0dbf 100644 --- a/app/views/gantts/show.html.erb +++ b/app/views/gantts/show.html.erb @@ -1,6 +1,7 @@ <h2><%= l(:label_gantt) %></h2> -<% form_tag(params.merge(:month => nil, :year => nil, :months => nil), :id => 'query_form') do %> +<% form_tag(gantt_path(:month => params[:month], :year => params[:year], :months => params[:months]), :method => :put, :id => 'query_form') do %> + <%= hidden_field_tag('project_id', @project.to_param) if @project%> <fieldset id="filters" class="collapsible"> <legend onclick="toggleFieldset(this);"><%= l(:label_filter_plural) %></legend> <div> |