r18565@gaspard (orig r1829): winterheart | 2008-09-14 14:59:12 +0200

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


git-svn-id: http://redmine.rubyforge.org/svn/branches/nbc@1858 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Nicolas Chuche
2008-09-14 15:38:36 +00:00
parent c74648d86f
commit 056f72fd6d
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