diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2007-09-24 23:31:59 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2007-09-24 23:31:59 +0000 |
commit | 89235ba0bbf045b122c6eba16f9218904d4abaf4 (patch) | |
tree | 40246aba966bcd990ceb6a8636aa13ca86dc6004 /railties/lib/rails_generator | |
parent | bdf5672077f095dda577b10185e395f865aac3f6 (diff) | |
download | rails-89235ba0bbf045b122c6eba16f9218904d4abaf4.tar.gz rails-89235ba0bbf045b122c6eba16f9218904d4abaf4.tar.bz2 rails-89235ba0bbf045b122c6eba16f9218904d4abaf4.zip |
Include the new 422 in the app generation
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7624 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/lib/rails_generator')
-rw-r--r-- | railties/lib/rails_generator/generators/applications/app/app_generator.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails_generator/generators/applications/app/app_generator.rb b/railties/lib/rails_generator/generators/applications/app/app_generator.rb index 1ac5b27300..9e0759a2b5 100644 --- a/railties/lib/rails_generator/generators/applications/app/app_generator.rb +++ b/railties/lib/rails_generator/generators/applications/app/app_generator.rb @@ -77,7 +77,7 @@ class AppGenerator < Rails::Generator::Base m.file "dispatches/dispatch.fcgi", "public/dispatch.fcgi", dispatcher_options # HTML files - %w(404 500 index).each do |file| + %w(404 422 500 index).each do |file| m.template "html/#{file}.html", "public/#{file}.html" end |