versions_controller.rb.diff

Azamat Hackimov, 2008-09-14 14:25

Download (552 Bytes)

View differences:

versions_controller.rb (working copy)
33 33
    @version.destroy
34 34
    redirect_to :controller => 'projects', :action => 'settings', :tab => 'versions', :id => @project
35 35
  rescue
36
    flash[:error] = "Unable to delete version"
36
    flash[:error] = l(:notice_unable_delete_version)
37 37
    redirect_to :controller => 'projects', :action => 'settings', :tab => 'versions', :id => @project
38 38
  end
39 39