1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Capitalize Rack gem name

[ci skip]
This commit is contained in:
Jon Moss 2016-12-19 20:23:53 -05:00
parent bebc744081
commit 9e54b0566f

View file

@ -109,7 +109,7 @@ module Rails
#
# == Endpoint
#
# An engine can also be a rack application. It can be useful if you have a rack application that
# An engine can also be a Rack application. It can be useful if you have a Rack application that
# you would like to wrap with +Engine+ and provide with some of the +Engine+'s features.
#
# To do that, use the +endpoint+ method:
@ -128,7 +128,7 @@ module Rails
#
# == Middleware stack
#
# As an engine can now be a rack endpoint, it can also have a middleware
# As an engine can now be a Rack endpoint, it can also have a middleware
# stack. The usage is exactly the same as in <tt>Application</tt>:
#
# module MyEngine
@ -499,7 +499,7 @@ module Rails
paths["app/helpers"].existent
end
# Returns the underlying rack application for this engine.
# Returns the underlying Rack application for this engine.
def app
@app || @app_build_lock.synchronize {
@app ||= begin