diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-08-02 17:42:20 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-08-02 17:42:20 +0000 |
commit | 2d5ac54d2eb9f49b8a2f65b4469aa6d95a1e85d6 (patch) | |
tree | efc30fe2b599ba2cce8f368460b76c32fb197413 /app/controllers/issue_categories_controller.rb | |
parent | 7701de9ae4fd85ef7ddc0e3a26e2234793d7e902 (diff) | |
download | redmine-2d5ac54d2eb9f49b8a2f65b4469aa6d95a1e85d6.tar.gz redmine-2d5ac54d2eb9f49b8a2f65b4469aa6d95a1e85d6.zip |
Applied the flash notices patch by Matt Jones (slightly edited).
flash[:notice] and flash[:error] are now used for notice/error messages.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@600 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/issue_categories_controller.rb')
-rw-r--r-- | app/controllers/issue_categories_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/issue_categories_controller.rb b/app/controllers/issue_categories_controller.rb index 9a0f40277..29a3f02af 100644 --- a/app/controllers/issue_categories_controller.rb +++ b/app/controllers/issue_categories_controller.rb @@ -30,7 +30,7 @@ class IssueCategoriesController < ApplicationController @category.destroy redirect_to :controller => 'projects', :action => 'settings', :tab => 'categories', :id => @project rescue - flash[:notice] = "Categorie can't be deleted" + flash[:error] = "Categorie can't be deleted" redirect_to :controller => 'projects', :action => 'settings', :tab => 'categories', :id => @project end |