test fix
This commit is contained in:
parent
3c518cae6a
commit
6eabe0b3d0
|
@ -22,7 +22,7 @@ Dir.chdir(ENV['PWD']+'/app/views/shared') do
|
|||
end
|
||||
if !@file_text.include?('patchfile_li')
|
||||
@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
|
||||
f = File.open('_side_bar.html.erb','w')
|
||||
f.write(@file_text)
|
||||
|
|
Loading…
Reference in New Issue