Skip to content

Commit 64b3061

Browse files
committed
improv: Initialize assets for all groups
1 parent 9ed1c02 commit 64b3061

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/react/rails/railtie.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ module Rails
55
class Railtie < ::Rails::Railtie
66
config.react = ActiveSupport::OrderedOptions.new
77

8-
initializer "react_rails.setup_vendor", :after => "sprockets.environment" do |app|
8+
initializer "react_rails.setup_vendor", :after => "sprockets.environment", group: :all do |app|
99
variant = app.config.react.variant
1010

1111
# Mimic behavior of ember-rails...

0 commit comments

Comments
 (0)