mirror of
https://github.com/redmine/redmine.git
synced 2025-12-22 16:30:38 +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:
@@ -227,7 +227,7 @@ class ProjectsController < ApplicationController
|
||||
|
||||
default_status = IssueStatus.default
|
||||
unless default_status
|
||||
flash.now[:notice] = 'No default issue status defined. Please check your configuration.'
|
||||
flash.now[:error] = 'No default issue status defined. Please check your configuration.'
|
||||
render :nothing => true, :layout => true
|
||||
return
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user