test
This commit is contained in:
parent
2d9524f5b0
commit
3c518cae6a
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue