diff options
author | Santiago Pastorino <santiago@wyeworks.com> | 2015-05-14 18:16:08 -0300 |
---|---|---|
committer | Santiago Pastorino <santiago@wyeworks.com> | 2015-06-11 16:54:15 -0300 |
commit | 03b576ee06ec5fe9f980dfa07c16cdbbadd7d6e2 (patch) | |
tree | 00a55e56c2682a81daf59e3bb1dd3d4fc33f9953 /railties | |
parent | 511c33a157464aa2b6476f26f66df6b7a1a4003e (diff) | |
download | rails-03b576ee06ec5fe9f980dfa07c16cdbbadd7d6e2.tar.gz rails-03b576ee06ec5fe9f980dfa07c16cdbbadd7d6e2.tar.bz2 rails-03b576ee06ec5fe9f980dfa07c16cdbbadd7d6e2.zip |
http only => API only
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/rails/generators/rails/app/app_generator.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |