Skip to content

Commit

Permalink
Add newline to test app generator
Browse files Browse the repository at this point in the history
  • Loading branch information
taylor-steve committed Jan 6, 2025
1 parent 059132e commit d6a274e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def add_theme_assets
copy_file 'fixture.png', 'app/assets/images/spotlight/themes/modern_preview.png'

copy_file 'fixture.css', 'app/assets/stylesheets/application_modern.css'
append_to_file 'config/initializers/assets.rb', 'Rails.application.config.assets.precompile += %w( application_modern.css )'
append_to_file 'config/initializers/assets.rb', "\nRails.application.config.assets.precompile += %w( application_modern.css )"

append_to_file 'config/initializers/spotlight_initializer.rb', "\nSpotlight::Engine.config.exhibit_themes = %w[default modern]"
end
Expand Down

0 comments on commit d6a274e

Please sign in to comment.