|
|
@ -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]
|
|
|
|