This commit is contained in:
BOHUNG 2020-01-13 15:19:30 +08:00
parent 2d9524f5b0
commit 3c518cae6a
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ Dir.chdir(ENV['PWD']+'/app/views/shared') do
@file_text.insert(@indert_index , @patchfile_li_choices)
end
if !@file_text.include?('patchfile_li')
@indert_index = @file_text.index('</nav>')
@indert_index = @file_text.index('<li title="<%= t(\'site_info\') %>">')
@file_text.insert(@indert_index , @patchfile_li_choices)
end
f = File.open('_side_bar.html.erb','w')