This commit is contained in:
BOHUNG 2020-01-13 15:25:31 +08:00
parent 3c518cae6a
commit 6eabe0b3d0
1 changed files with 1 additions and 1 deletions

View File

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