- 16 8月, 2016 1 次提交
-
-
由 Rafael Mendonça França 提交于
Style/SpaceBeforeBlockBraces Style/SpaceInsideBlockBraces Style/SpaceInsideHashLiteralBraces Fix all violations in the repository.
-
- 14 8月, 2016 1 次提交
-
-
由 Seth Faxon 提交于
fixes error due to Routes#partitioned_routes being removed
-
- 07 8月, 2016 2 次提交
-
-
由 Xavier Noria 提交于
-
由 Xavier Noria 提交于
The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
-
- 17 2月, 2016 1 次提交
-
-
由 Jon Moss 提交于
- `VERSION` shouldn't be there anymore since Journey is technically part of Action Dispatch now (and thus Action Pack, and follows the normal Rails versioning scheme) - `backwards.rb` was only in the file tree because early in the history or Journey (back in 2011!), it was moved from under the Rack namespace, to its own namespace, Journey! This file is no longer required, and is assigning constants that are no longer needed.
-
- 15 8月, 2015 2 次提交
-
-
由 Aaron Patterson 提交于
also change the feeler to subclass AD::Request so that it has all the methods that Request has
-
由 Aaron Patterson 提交于
-
- 14 8月, 2015 1 次提交
-
-
由 Aaron Patterson 提交于
This was a useless object. We can just directly construct a Path::Pattern object without a Strexp object.
-
- 21 3月, 2015 1 次提交
-
-
由 Harry Marr 提交于
Fixes the issue described in #18764 - prevents Rack middleware from swallowing up HEAD requests that should have been matched by a higher-precedence `get` route, but still allows Rack middleware to respond to HEAD requests.
-
- 27 2月, 2015 1 次提交
-
-
由 Jeremy Kemper 提交于
This reverts commit b6dd0c4d, reversing changes made to de9a3748.
-
- 26 2月, 2015 1 次提交
-
-
由 Guo Xiang Tan 提交于
Partitioning of all the routes is currently being done during the first request. Since there is no need to clear the cache for `partitioned_routes` when adding a new route. We can move the partitioning of the routes during setup time.
-
- 09 2月, 2015 1 次提交
-
-
由 Terence Sun 提交于
In match_head_routes, deleted the routes in which request.request_method was empty (matches all HTTP verbs) when responding to a HEAD request. This prevents catch-all routes (such as Racks) from intercepting the HEAD request. Fixes #18698
-
- 29 11月, 2014 1 次提交
-
-
由 Erik Michaels-Ober 提交于
-
- 21 8月, 2014 1 次提交
-
-
由 Guo Xiang Tan 提交于
Follow up to rails#15321 Instead of duplicating the routes, we will first match the HEAD request to HEAD routes. If no match is found, we will then map the HEAD request to GET routes.
-
- 20 6月, 2014 1 次提交
-
-
由 Viktar Basharymau 提交于
The latter has the same speed as the former in the worst case and faster in general, because it is always better to sort less items. Unfortunately, `routes.select!{...}.sort_by!{...}` is not possible here because `select!` returns `nil`, so select! and sort! must be done in two steps.
-
- 14 6月, 2014 1 次提交
-
-
由 Larry Lv 提交于
Fixes issue #15511.
-
- 26 5月, 2014 2 次提交
-
-
由 Aaron Patterson 提交于
-
由 Guo Xiang Tan 提交于
-
- 25 5月, 2014 1 次提交
-
-
由 Guo Xiang Tan 提交于
-
- 24 5月, 2014 9 次提交
-
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
stop hardcoding hash keys and use the accessors provided on the request object.
-
- 23 5月, 2014 2 次提交
-
-
由 Aaron Patterson 提交于
this decouples our code from the env hash a bit.
-
由 Aaron Patterson 提交于
-
- 22 5月, 2014 3 次提交
-
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
- 02 4月, 2014 1 次提交
-
-
由 Aaron Patterson 提交于
-
- 16 1月, 2014 1 次提交
-
-
由 Piotr Sarnacki 提交于
The revert is needed because of a regression described in #13369, routes with trailing slash are no longer recognized properly. This reverts commit 50311f13.
-
- 21 6月, 2013 1 次提交
-
-
由 Piotr Sarnacki 提交于
Previously when app was mounted as following: class Foo def call(env) [200, {}, [env['PATH_INFO']]] end end RackMountRailsBug::Application.routes.draw do mount RackTest.new => "/foo" end trailing slash was removed from PATH_INFO. For example requesting GET /foo/bar/ on routes defined above would result in a response containing "/foo/bar" instead of "/foo/bar/". This commit fixes the issue. (closes #3215)
-
- 16 4月, 2013 1 次提交
-
-
由 buddhamagnet 提交于
-
- 16 1月, 2013 1 次提交
-
-
由 Andrew White 提交于
This now allows the use of arrays like this: get '/foo/:action', to: 'foo', constraints: { subdomain: %w[www admin] } or constraints where the request method returns an Fixnum like this: get '/foo', to: 'foo#index', constraints: { port: 8080 } Note that this only applies to constraints on the request - path constraints still need to be specified as Regexps as the various constraints are compiled into a single Regexp.
-
- 21 12月, 2012 1 次提交
-
-
由 Francesco Rodriguez 提交于
-
- 20 12月, 2012 1 次提交
-
-
由 Francesco Rodriguez 提交于
-