@ -1,8 +1,7 @@
class LiveLinksController < ApplicationController
before_action :require_login
before_action :find_course, only: [:index, :create]
before_action :user_course_identity
before_action :teacher_allowed, only: [:create]
before_action :user_course_identity, :teacher_allowed, only: [:create]
def index
lives = @course.live_links.order("id desc")