Fix orbit_bar_bootstrap css path
This commit is contained in:
parent
6dedfbe7fc
commit
5897503316
|
@ -190,8 +190,10 @@ module ApplicationHelper
|
|||
end
|
||||
|
||||
def page_stylesheets(page, edit=nil)
|
||||
orbit_bar_bootstrap = asset_path 'orbit_bar_bootstrap'
|
||||
orbit_bar_bootstrap = orbit_bar_bootstrap.include?('css') ? orbit_bar_bootstrap : orbit_bar_bootstrap+'.css'
|
||||
stylesheets = ''
|
||||
stylesheets << "<link href='#{asset_path 'orbit_bar_bootstrap'}.css' rel='stylesheet' type='text/css' />\n"
|
||||
stylesheets << "<link href='#{orbit_bar_bootstrap}' rel='stylesheet' type='text/css' />\n"
|
||||
stylesheets << "<link href='#{page.design.css_reset.file.url}' rel='stylesheet' type='text/css' />\n" if page.design.css_reset
|
||||
# stylesheets << "<link href='#{asset_path 'banner_nav.css'}' rel='stylesheet' type='text/css' />\n"
|
||||
# stylesheets << "<link href='#{asset_path 'default_widget.css'}' rel='stylesheet' type='text/css' />\n"
|
||||
|
|
Loading…
Reference in New Issue