diff --git a/app/controllers/shixuns_controller.rb b/app/controllers/shixuns_controller.rb index 6b9fc8af0..8b39df933 100644 --- a/app/controllers/shixuns_controller.rb +++ b/app/controllers/shixuns_controller.rb @@ -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