commit
049957bf4a
|
|
@ -135,7 +135,7 @@ class ShixunsController < ApplicationController
|
|||
@path = params[:path]
|
||||
@rev = params[:rev]
|
||||
file_content = g.files(@shixun.gpid, @path, @rev).content
|
||||
@content = tran_base64_decode64(file_content)
|
||||
@content = tran_base64_decode64(file_content) unless file_content.blank?
|
||||
|
||||
respond_to do |format|
|
||||
format.js
|
||||
|
|
|
|||
Loading…
Reference in New Issue