Sha256: 9a5c1c3c4251a9d4aa90bfe0ec38306341aa2c4bb768999a1b136c61bdf21bb6

Contents?: true

Size: 867 Bytes

Versions: 1

Compression:

Stored size: 867 Bytes

Contents

# Add our main menu override
copy_file "overrides/main_menu.rb", "app/overrides/main_menu.rb"

# Fix uninitialized constant Spree::User::DestroyWithOrdersError 
template "initializers/spree_user_error_fix.rb", "config/initializers/spree_user_error_fix.rb"

# remove all stylesheets except core  
%w(admin store).each do |ns|
  template "assets/javascripts/#{ns}/all.js",  "app/assets/javascripts/#{ns}/all.js",  :force => true
  template "assets/stylesheets/#{ns}/all.css", "app/assets/stylesheets/#{ns}/all.css", :force => true
end

# Fix sass load error by using the converted css file
template "assets/stylesheets/store/screen.css", "app/assets/stylesheets/store/screen.css"

# Enable forgery_protection since we need AUTH_TOKEN to be defined to avoid JS errors
gsub_file "config/environments/test.rb", "forgery_protection    = false", "forgery_protection = true"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
spree_essential_cms-0.4.0 test/dummy_hooks/after_app_generator.rb