Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-12-20 02:22:10 +0300
committerKamil Trzcinski <ayufan@ayufan.eu>2016-12-20 02:22:10 +0300
commit841960f847f04da9c427bcdb19037e2112a90890 (patch)
treeff485924db7614a01d5f3f52f66dd28056097ff8 /app/controllers/projects/mattermosts_controller.rb
parent34295036e2a9ecf18ca5440a5dd6dbb0c7f05643 (diff)
Fix flow
Diffstat (limited to 'app/controllers/projects/mattermosts_controller.rb')
-rw-r--r--app/controllers/projects/mattermosts_controller.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/projects/mattermosts_controller.rb b/app/controllers/projects/mattermosts_controller.rb
index c6b39add7ad..0f939838306 100644
--- a/app/controllers/projects/mattermosts_controller.rb
+++ b/app/controllers/projects/mattermosts_controller.rb
@@ -32,6 +32,7 @@ class Projects::MattermostsController < Projects::ApplicationController
def teams
@teams ||= @service.list_teams(current_user)
rescue => e
+ @teams = []
flash[:alert] = e.message
end