Skip to content

Commit cd61c2c

Browse files
authored
Merge pull request #194 from joyofrails/chore/minor-fixes
Minor fixes
2 parents 24b3a2c + 1b7544c commit cd61c2c

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ gem "solid_cache" # A database-backed ActiveSupport::Cache::Store [https://githu
1414
gem "solid_queue" # A database-backed ActiveJob backend [https://github.com/basecamp/solid_queue]
1515

1616
# Asset management
17-
gem "propshaft", group: [:default, :wasm] # The original asset pipeline for Rails [https://github.com/rails/sprockets-rails]
17+
gem "propshaft", group: [:default, :wasm] # Deliver assets for Rails [https://github.com/rails/propshaft]
1818
gem "stimulus-rails", group: [:default, :wasm] # Hotwire's modest JavaScript framework [https://stimulus.hotwired.dev]
1919
gem "turbo-rails", group: [:default, :wasm] # Hotwire's SPA-like page accelerator [https://turbo.hotwired.dev]
2020
gem "vite_rails", group: [:default, :wasm] # Leverage Vite to power the frontend of your Rails app [https://vite-ruby.netlify.app/guide/rails.html]

app/content/pages/articles/how-to-render-css-dynamically-in-rails.html.mdrb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ In this post, we‘ll talk about some techniques and considerations to accomplis
2525
JavaScript not enabled? Go to the <%= link_to "color scheme demo", settings_color_scheme_path(custom_color_scheme_params) %>. Then come back when you’re done.
2626
</noscript>
2727

28+
(You can visit [the settings page](/settings/color_scheme) to save your preferred color scheme to your session.)
29+
2830
## ERB isn‘t just for HTML
2931

3032
The color scheme preview relies on Ruby embedded in HTML templates on the server to render CSS into a `<style>` tag.

0 commit comments

Comments
 (0)