Skip to content

Commit

Permalink
Move images to asset pipeline
Browse files Browse the repository at this point in the history
This reverts commit 63f6567.
  • Loading branch information
dacook committed Apr 13, 2023
1 parent 2a44789 commit 5d2c156
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions app/models/spree/app_configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ module Spree
class AppConfiguration < Preferences::Configuration
# Should state/state_name be required
preference :address_requires_state, :boolean, default: true
preference :admin_interface_logo, :string, default: '/default_images/ofn-logo.png'
preference :admin_interface_logo, :string, default: 'ofn-logo.png'
preference :admin_products_per_page, :integer, default: 10
# Should only be true if you don't need to track inventory
preference :allow_backorder_shipping, :boolean, default: false
Expand All @@ -46,7 +46,7 @@ class AppConfiguration < Preferences::Configuration
preference :default_seo_title, :string, default: ''
preference :hide_cents, :boolean, default: false
preference :layout, :string, default: 'darkswarm'
preference :logo, :string, default: '/default_images/ofn-logo.png'
preference :logo, :string, default: 'ofn-logo.png'

# Maximum nesting level in taxons menu
preference :max_level_in_taxons_menu, :integer, default: 1
Expand Down
2 changes: 1 addition & 1 deletion config/webpacker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ default: &default
'vendor',
'app/webpacker/css',
'app/assets/fonts',
'app/webpacker/images',
'app/assets/images',
'engines/web/app/assets/stylesheets',
'app/components'
]
Expand Down
4 changes: 2 additions & 2 deletions spec/support/file_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ def white_logo_file
end

def black_logo_path
Rails.root.join('app/webpacker/images/logo-black.png')
Rails.root.join('app/assets/images/logo-black.png')
end

def white_logo_path
Rails.root.join('app/webpacker/images/logo-white.png')
Rails.root.join('app/assets/images/logo-white.png')
end
end

0 comments on commit 5d2c156

Please sign in to comment.