diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-10-18 16:59:28 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-10-18 16:59:28 +0000 |
commit | 0006c5f3b0dc697b277faee328244f0dabe9d1c7 (patch) | |
tree | 8ce19da27ddfb46d60f85a172fe8be4d6714dc51 /app/controllers | |
parent | 3c42abe07e12932a6e839ab3f635f86745cb39ed (diff) | |
download | redmine-0006c5f3b0dc697b277faee328244f0dabe9d1c7.tar.gz redmine-0006c5f3b0dc697b277faee328244f0dabe9d1c7.zip |
New document form can be accessed from the document list with no additional request.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@851 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/projects_controller.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/app/controllers/projects_controller.rb b/app/controllers/projects_controller.rb index 1fc7a82ff..960255263 100644 --- a/app/controllers/projects_controller.rb +++ b/app/controllers/projects_controller.rb @@ -174,7 +174,6 @@ class ProjectsController < ApplicationController # Add a new document to @project def add_document - @categories = Enumeration::get_values('DCAT') @document = @project.documents.build(params[:document]) if request.post? and @document.save # Save the attachments |