|
|
|
@ -3,6 +3,7 @@ class ShixunsController < ApplicationController
|
|
|
|
|
include ApplicationHelper
|
|
|
|
|
include ElasticsearchAble
|
|
|
|
|
include CoursesHelper
|
|
|
|
|
include GitCommon
|
|
|
|
|
|
|
|
|
|
before_action :require_login, :check_auth, except: [:download_file, :index, :menus, :show, :show_right, :ranking_list,
|
|
|
|
|
:discusses, :collaborators, :fork_list, :propaedeutics]
|
|
|
|
@ -877,7 +878,7 @@ class ShixunsController < ApplicationController
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
include GitCommon
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def update_file
|
|
|
|
|
content = params[:content]
|
|
|
|
|