fix
This commit is contained in:
parent
2bd6a5de31
commit
b393baab90
|
@ -14,7 +14,7 @@ end
|
|||
#Add patchfile to Admin area
|
||||
@patchfile_li = File.read(app_path+"/patchfile_li.txt")
|
||||
@patchfile_li_choices = File.read(app_path+"/patchfile_li_choices.txt")
|
||||
@file_text = File.read(ENV['PWD']+'/app/views/shared/_side_bar.html.erb")
|
||||
@file_text = File.read(ENV['PWD']+'/app/views/shared/_side_bar.html.erb')
|
||||
if !@file_text.include?('<div class="patchfile sub-nav-block icons-megaphone">')
|
||||
@indert_index = @file_text.index('</nav>')
|
||||
@file_text.insert(@indert_index , @patchfile_li_choices)
|
||||
|
|
Loading…
Reference in New Issue