Added implementation to generate flash[:notice] automatically unless get method action.