class SolidusAdminBar::Generators::InstallGenerator

Public Instance Methods

add_stylesheets() click to toggle source
# File lib/generators/solidus_admin_bar/install/install_generator.rb, line 9
def add_stylesheets
  inject_into_file 'vendor/assets/stylesheets/spree/frontend/all.css', " *= require spree/frontend/solidus_admin_bar\n", before: %r{\*/}, verbose: true # rubocop:disable Layout/LineLength
end