实训直接在命令中编辑的话让实训产生重置
This commit is contained in:
parent
75ddc4b64e
commit
86000572f6
|
|
@ -102,6 +102,7 @@ class ShixunsController < ApplicationController
|
|||
@rev = params[:rev]
|
||||
@content = params[:content]
|
||||
code_file = g.edit_file(@shixun.gpid, :content => params[:content], :file_path => @path, :branch_name => @rev, :commit_message => "shixun entry")
|
||||
shixun_modify_status_without_publish(@shixun, 1)
|
||||
respond_to do |format|
|
||||
format.js
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in New Issue