mirror of
				https://github.com/redmine/redmine.git
				synced 2025-10-31 02:15:52 +01:00 
			
		
		
		
	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
This commit is contained in:
		| @@ -66,7 +66,7 @@ class CustomFieldsController < ApplicationController | ||||
|     @custom_field = CustomField.find(params[:id]).destroy | ||||
|     redirect_to :action => 'list', :tab => @custom_field.type | ||||
|   rescue | ||||
|     flash[:notice] = "Unable to delete custom field" | ||||
|     flash[:error] = "Unable to delete custom field" | ||||
|     redirect_to :action => 'list' | ||||
|   end | ||||
| end | ||||
|   | ||||
		Reference in New Issue
	
	Block a user