spree-contrib / spree_static_content

Manage static pages for Spree Commerce.
http://guides.spreecommerce.org
BSD 3-Clause "New" or "Revised" License
217 stars 333 forks source link

branch 3-0-stable #184

Closed ristovskiv closed 9 years ago

ristovskiv commented 9 years ago

There is a minor bug in "overrides/pages_in_header.rb". Instead of

Deface::Override.new(:virtual_path => "spree/shared/_main_nav_bar", :name => "pages_in_header", :insert_bottom => "#main-nav-bar", :partial => "spree/static_content/static_content_header", :disabled => false)

it should be

:insert_bottom => "#main-nav-bar ul:first"

or

:insert_bottom => "#main-nav-bar ul:first-child"

JDutil commented 9 years ago

Could you please submit a PR?

ristovskiv commented 9 years ago

Sure.