mirror of
https://github.com/github/rails.git
synced 2026-01-30 00:38:00 -05:00
Include the new 422 in the app generation
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7624 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user