diff --git a/app/controllers/messages_controller.rb b/app/controllers/messages_controller.rb index 33f4e5bfb..bad54b88e 100644 --- a/app/controllers/messages_controller.rb +++ b/app/controllers/messages_controller.rb @@ -48,7 +48,7 @@ class MessagesController < ApplicationController @user_course_identity = current_user.course_identity(@message.board.course) case @user_course_identity - when 5 || 6 || 7 + when 5, 6, 7 @messages = @messages.visible end