编辑的时候去掉行头字符
This commit is contained in:
parent
37679021ea
commit
7044ce8f1a
|
@ -38,7 +38,7 @@ class GamesController < ApplicationController
|
|||
|
||||
def file_edit
|
||||
entry_and_raw(false)
|
||||
@content = @repository.cat(@path, @rev)
|
||||
@content = @repository.cat(@path, @rev).rstrip
|
||||
respond_to do |format|
|
||||
format.js
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue