diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-12-20 02:22:10 +0300 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-12-20 02:22:10 +0300 |
commit | 841960f847f04da9c427bcdb19037e2112a90890 (patch) | |
tree | ff485924db7614a01d5f3f52f66dd28056097ff8 /app/controllers/projects/mattermosts_controller.rb | |
parent | 34295036e2a9ecf18ca5440a5dd6dbb0c7f05643 (diff) |
Fix flow
Diffstat (limited to 'app/controllers/projects/mattermosts_controller.rb')
-rw-r--r-- | app/controllers/projects/mattermosts_controller.rb | 1 |
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 |