summaryrefslogtreecommitdiffstats
path: root/app/views/files/new.html.erb
diff options
context:
space:
mode:
authorEric Davis <edavis@littlestreamsoftware.com>2010-09-13 20:35:03 +0000
committerEric Davis <edavis@littlestreamsoftware.com>2010-09-13 20:35:03 +0000
commit41c055363ee4826799b9ffe7d76fd399c89190d3 (patch)
tree78321389f47072812eeb42dc6d5759f8c15addbb /app/views/files/new.html.erb
parent12e10f6956fcd276fc3da19beb0c7bf4ade5f0da (diff)
downloadredmine-41c055363ee4826799b9ffe7d76fd399c89190d3.tar.gz
redmine-41c055363ee4826799b9ffe7d76fd399c89190d3.zip
Refactor: split FilesController#new into #new and #create.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4084 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/files/new.html.erb')
-rw-r--r--app/views/files/new.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/files/new.html.erb b/app/views/files/new.html.erb
index bbb3b1733..870a315c9 100644
--- a/app/views/files/new.html.erb
+++ b/app/views/files/new.html.erb
@@ -2,7 +2,7 @@
<%= error_messages_for 'attachment' %>
<div class="box">
-<% form_tag({ :action => 'new', :id => @project }, :multipart => true, :class => "tabular") do %>
+<% form_tag({ :action => 'create', :id => @project }, :multipart => true, :class => "tabular") do %>
<% if @versions.any? %>
<p><label for="version_id"><%=l(:field_version)%></label>