lib/rails/generators/actions.rb in railties-6.1.0.rc1 vs lib/rails/generators/actions.rb in railties-6.1.0.rc2

- old
+ new

@@ -109,14 +109,14 @@ # # If options <tt>:env</tt> is specified, the line is appended to the corresponding # file in <tt>config/environments</tt>. # # environment do - # "config.action_controller.asset_host = 'cdn.provider.com'" + # "config.asset_host = 'cdn.provider.com'" # end # # environment(nil, env: "development") do - # "config.action_controller.asset_host = 'localhost:3000'" + # "config.asset_host = 'localhost:3000'" # end def environment(data = nil, options = {}) sentinel = "class Application < Rails::Application\n" env_file_sentinel = "Rails.application.configure do\n" data ||= yield if block_given?