|
|
@ -48,7 +48,7 @@ class MessagesController < ApplicationController
|
|
|
|
|
|
|
|
|
|
|
|
@user_course_identity = current_user.course_identity(@message.board.course)
|
|
|
|
@user_course_identity = current_user.course_identity(@message.board.course)
|
|
|
|
case @user_course_identity
|
|
|
|
case @user_course_identity
|
|
|
|
when 5 || 6 || 7
|
|
|
|
when 5, 6, 7
|
|
|
|
@messages = @messages.visible
|
|
|
|
@messages = @messages.visible
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|