fixed #1216, thank Antti Perkiömäki for reporting

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1829 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
winterheart
2008-09-14 12:59:12 +00:00
parent f6b05ea3fb
commit 653d2aacbb
29 changed files with 30 additions and 1 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ class VersionsController < ApplicationController
@version.destroy
redirect_to :controller => 'projects', :action => 'settings', :tab => 'versions', :id => @project
rescue
flash[:error] = "Unable to delete version"
flash[:error] = l(:notice_unable_delete_version)
redirect_to :controller => 'projects', :action => 'settings', :tab => 'versions', :id => @project
end