From 03b576ee06ec5fe9f980dfa07c16cdbbadd7d6e2 Mon Sep 17 00:00:00 2001 From: Santiago Pastorino Date: Thu, 14 May 2015 18:16:08 -0300 Subject: http only => API only --- railties/lib/rails/generators/rails/app/app_generator.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'railties') diff --git a/railties/lib/rails/generators/rails/app/app_generator.rb b/railties/lib/rails/generators/rails/app/app_generator.rb index 6d35fc61f0..4b73313388 100644 --- a/railties/lib/rails/generators/rails/app/app_generator.rb +++ b/railties/lib/rails/generators/rails/app/app_generator.rb @@ -189,7 +189,7 @@ module Rails raise Error, "Invalid value for --database option. Supported for preconfiguration are: #{DATABASES.join(", ")}." end - # Force sprockets to be skipped when generating http only app. + # Force sprockets to be skipped when generating API only apps. # Can't modify options hash as it's frozen by default. self.options = options.merge(skip_sprockets: true, skip_javascript: true).freeze if options[:api] end -- cgit v1.2.3