Update to tails 4.2.5.1
[rails.git] / config / initializers / r2.rb
index bad88e1bafeeabc8a2e15d2f2f08ff65cb4d2962..545d7bc0274db58afb8488d731ad9ed45f8c6315 100644 (file)
@@ -18,4 +18,6 @@ class R2Template < Tilt::Template
   end
 end
 
-Rails.application.assets.register_engine ".r2", R2Template
+Rails.application.config.assets.configure do |env|
+  env.register_engine ".r2", R2Template
+end