File tree Expand file tree Collapse file tree 3 files changed +22
-0
lines changed
Expand file tree Collapse file tree 3 files changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ gem "propshaft"
2121gem "puma" , ">= 5.0"
2222gem "rack-attack"
2323gem "rails" , "~> 8.0.4"
24+ gem "reactionview" , "~> 0.1.2"
2425gem "requestjs-rails"
2526gem "scout_apm"
2627gem "scout_apm_logging" , "~> 2.1"
Original file line number Diff line number Diff line change 212212 rake (>= 13 )
213213 googleapis-common-protos-types (1.22.0 )
214214 google-protobuf (~> 4.26 )
215+ herb (0.7.2-aarch64-linux-gnu )
216+ herb (0.7.2-aarch64-linux-musl )
217+ herb (0.7.2-arm-linux-gnu )
218+ herb (0.7.2-arm-linux-musl )
219+ herb (0.7.2-arm64-darwin )
220+ herb (0.7.2-x86_64-darwin )
221+ herb (0.7.2-x86_64-linux-gnu )
222+ herb (0.7.2-x86_64-linux-musl )
215223 hotwire-spark (0.1.13 )
216224 listen
217225 rails (>= 7.0.0 )
436444 erb
437445 psych (>= 4.0.0 )
438446 tsort
447+ reactionview (0.1.2 )
448+ actionview (>= 7.0 )
449+ herb (>= 0.7.0 , < 1.0.0 )
439450 regexp_parser (2.11.3 )
440451 reline (0.6.2 )
441452 io-console (~> 0.5 )
@@ -621,6 +632,7 @@ DEPENDENCIES
621632 rack-mini-profiler
622633 rails (~> 8.0.4 )
623634 rails-controller-testing
635+ reactionview (~> 0.1.2 )
624636 requestjs-rails
625637 rspec-rails
626638 rubocop-rails-omakase
Original file line number Diff line number Diff line change 1+ # frozen_string_literal: true
2+
3+ ReActionView . configure do |config |
4+ # Intercept .html.erb templates and process them with `Herb::Engine` for enhanced features
5+ config . intercept_erb = true
6+
7+ # Enable debug mode in development (adds debug attributes to HTML)
8+ config . debug_mode = Rails . env . development?
9+ end
You can’t perform that action at this time.
0 commit comments