diff --git a/app/controllers/weapps/courses_controller.rb b/app/controllers/weapps/courses_controller.rb index c4dde41e0..2a375a7fb 100644 --- a/app/controllers/weapps/courses_controller.rb +++ b/app/controllers/weapps/courses_controller.rb @@ -1,4 +1,6 @@ class Weapps::CoursesController < Weapps::BaseController + include CustomSortable + before_action :require_login before_action :set_course, except: [:create, :check_invite_code] before_action :user_course_identity, except: [:basic_info, :create, :check_invite_code]