courseware
daiao 5 years ago
parent 44e1aeda37
commit e133dbc9de

@ -1,4 +1,6 @@
class Weapps::CoursesController < Weapps::BaseController class Weapps::CoursesController < Weapps::BaseController
include CustomSortable
before_action :require_login before_action :require_login
before_action :set_course, except: [:create, :check_invite_code] before_action :set_course, except: [:create, :check_invite_code]
before_action :user_course_identity, except: [:basic_info, :create, :check_invite_code] before_action :user_course_identity, except: [:basic_info, :create, :check_invite_code]

Loading…
Cancel
Save