mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
28016d33b0
This technique is here to allow using routes from Engine in Application and vice versa. When using Engine routes inside Application it should generate prefix based on mount point. When using Engine routes inside Engine it should use env['SCRIPT_NAME']. In any other case it should generate prefix as env should not be even available. |
||
---|---|---|
.. | ||
request | ||
session | ||
callbacks_test.rb | ||
cookies_test.rb | ||
header_test.rb | ||
middleware_stack_test.rb | ||
mime_type_test.rb | ||
mount_test.rb | ||
prefix_generation_test.rb | ||
rack_test.rb | ||
request_test.rb | ||
response_test.rb | ||
routing_test.rb | ||
show_exceptions_test.rb | ||
static_test.rb | ||
test_request_test.rb | ||
url_generation_test.rb |