- 04 9月, 2010 1 次提交
-
-
由 Piotr Sarnacki 提交于
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.
-
- 03 9月, 2010 1 次提交
-
-
由 José Valim 提交于
Booting a new Rails application does not work after this commit [#5359 state:open] This reverts commit 38a421b3.
-
- 02 9月, 2010 1 次提交
-
-
由 Łukasz Strzałkowski 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 21 8月, 2010 1 次提交
-
-
由 Andrew White 提交于
Extend assert_recognizes and assert_generates to support passing full urls as the path argument. This allows testing of routing constraints such as subdomain and host within functional tests. [#5005 state:resolved] Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 03 8月, 2010 1 次提交
-
-
由 Samuel Lebeau 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 22 7月, 2010 2 次提交
-
-
由 Santiago Pastorino 提交于
options could be of any kind of Hash (Hash, HashWithIndifferentAccess or OrderedHash) this way we keep the properties of the options passed as an argument
-
由 Brian Rose 提交于
Fixed a globbed route issue where slashes were being escaped, causing assert_routing to fail. [#5135 state:resolved] Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 16 7月, 2010 1 次提交
-
-
由 Santiago Pastorino 提交于
-
- 07 7月, 2010 1 次提交
-
-
由 Andrew White 提交于
When a dynamic :controller segment is present in the path add a Regexp constraint that allow matching on multiple path segments. Using a namespace block isn't compatible with dynamic routes so we raise an ArgumentError if we detect a :module present in the scope. [#5052 state:resolved] Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 06 7月, 2010 1 次提交
-
-
由 José Valim 提交于
-
- 04 7月, 2010 1 次提交
-
-
由 Wincent Colaiuta 提交于
Commit f7ba614c improved the internal consistency of the different means of accessing routes, but it introduced some problems at the level of code comments and user-visible strings. This commit applies fixes on three levels: Firstly, we remove or replace grammatically invalid constructs such as "a routes" or "a particular routes". Secondly, we make sure that we always use "the router DSL" or "the router syntax", because this has always been the official terminology. Finally, we make sure that we only use "routes" when referring to the application-specific set of routes that are defined in the "config/routes.rb" file, we use "router" when referring on a more abstract level to "the code in Rails used to handle routing", and we use "routing" when we need an adjective to apply to nouns such as "url_helpers. Again this is consistent with historical practice and other places in the documentation. Note that this is not a sweep over the entire codebase to ensure consistent usage of language; it is just a revision of the changes introduced in commit f7ba614c. Signed-off-by: NWincent Colaiuta <win@wincent.com> Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 03 7月, 2010 2 次提交
-
-
由 Andrew White 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 José Valim 提交于
-
- 02 7月, 2010 1 次提交
-
-
由 Piotr Sarnacki 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 28 6月, 2010 4 次提交
-
-
由 José Valim 提交于
-
由 Andrew White 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Andrew White 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Jeremy Kemper 提交于
-
- 27 6月, 2010 1 次提交
-
-
由 Andrew White 提交于
Normalize recall params when the route is not a standard route otherwise :controller and :action may appear in the generated url [#4326 state:resolved] Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 26 6月, 2010 1 次提交
-
-
由 Andrew White 提交于
URL fragments should not have safe characters escaped. Ref: Appendix A, http://tools.ietf.org/rfc/rfc3986.txt [#4762 state:resolved] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
- 08 6月, 2010 1 次提交
-
-
由 wycats 提交于
-
- 05 6月, 2010 2 次提交
- 01 5月, 2010 1 次提交
-
-
由 Carl Lerche 提交于
RouteSet does not raise ActionController::RoutingError when no routes match anymore. Instead, it follows the X-Cascade convention. ShowExceptions checks for X-Cascade so that the routing error page can still be displayed.
-
- 16 4月, 2010 1 次提交
-
-
由 Mislav Marohnić 提交于
Signed-off-by: NXavier Noria <fxn@hashref.com>
-
- 04 4月, 2010 1 次提交
-
-
由 wycats 提交于
ActionDispatch::Request rather than Rack::Request. * Changed ActionDispatch::Request#method to return a String, to be compatible with the Rack::Request superclass. * Changed ActionDispatch::Request#method to return the original method in the case of methodoverride and #request_method not to, to be compatible with Rack::Request
-
- 31 3月, 2010 1 次提交
-
-
由 Andrew White 提交于
-
- 24 3月, 2010 1 次提交
-
-
由 wycats 提交于
-
- 19 3月, 2010 1 次提交
-
-
由 wycats 提交于
-
- 18 3月, 2010 1 次提交
-
-
由 Joshua Peek 提交于
globally
-
- 17 3月, 2010 2 次提交
-
-
由 Carl Lerche 提交于
-
由 Carl Lerche 提交于
Make RouteSet#finalize! a NOOP if it's been called already. Call finalize! the first time call() and url_for() are called if the RouteSet has not been finalized yet.
-
- 10 3月, 2010 6 次提交
-
-
由 Joshua Peek 提交于
-
由 Joshua Peek 提交于
-
由 Joshua Peek 提交于
-
由 Joshua Peek 提交于
-
由 Joshua Peek 提交于
-
由 wycats 提交于
-
- 09 3月, 2010 2 次提交
-
-
由 Jeremy Kemper 提交于
-
由 Carlhuda 提交于
Add support for mount RackApp, :at => "/sprockets" with a shorthand of mount Sprockets => "/sprockets". This is different from the match syntax in that it cannot be used for controller/action and it does not assume an anchor at the end of the match. For instance, in the above example, if the client asked for "/sprockets/foo.js", the Sprockets app would have a SCRIPT_NAME of "/sprockets" and PATH_INFO of "/foo.js".
-