Closed stewart closed 7 years ago
If solidus_frontend is not included in the application (as is likely the case with most stores, as custom frontends are common), the auth_shared_login_bar Deface override fails to compile:
solidus_frontend
auth_shared_login_bar
Unable to precompile 'spree/shared/_nav_bar' due to: Missing template spree/shared/_nav_bar with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :coffee, :haml, :rabl], :versions=>[:v10, :v9, :v8, :v7, :v6, :v5, :v4, :v3, :v2, :v1]}. Searched in: * "/home/stewart/dev/store/app/views" * "/home/stewart/dev/store/vendor/bundle/ruby/2.2.0/gems/teaspoon-1.1.5/app/views" * "/home/stewart/dev/store/vendor/bundle/ruby/2.2.0/gems/solidus_auth_devise-1.5.0/lib/views/backend" * "/home/stewart/dev/store/vendor/bundle/ruby/2.2.0/gems/devise-4.2.0/app/views" * "/home/stewart/dev/store/vendor/bundle/ruby/2.2.0/gems/solidus_braintree-1.1.0/app/views" * "/home/stewart/dev/store/vendor/bundle/ruby/2.2.0/bundler/gems/solidus-bfe4b247b961/backend/app/views" * "/home/stewart/dev/store/vendor/bundle/ruby/2.2.0/bundler/gems/solidus-bfe4b247b961/api/app/views" * "/home/stewart/dev/store/vendor/bundle/ruby/2.2.0/bundler/gems/solidus-bfe4b247b961/core/app/views" * "/home/stewart/dev/store/vendor/bundle/ruby/2.2.0/gems/kaminari-0.17.0/app/views"
This could possibly be fixed by only applying the override if solidus_frontend is present.
If
solidus_frontend
is not included in the application (as is likely the case with most stores, as custom frontends are common), theauth_shared_login_bar
Deface override fails to compile:This could possibly be fixed by only applying the override if
solidus_frontend
is present.