Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixes for "router" and "routes" terminology | Wincent Colaiuta | 2010-07-03 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit f7ba614c2db 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 f7ba614c2db. Signed-off-by: Wincent Colaiuta <win@wincent.com> Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Unify routes naming by renaming router to routes | Piotr Sarnacki | 2010-07-02 | 1 | -1/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Fix controller_name for non default controller paths [#4901 state:resolved] | knapo | 2010-06-23 | 1 | -1/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Remove a relic of #request being in RackDelegation | wycats | 2010-06-19 | 1 | -2/+9 |
| | |||||
* | Add :only and :except to controllers MiddlewareStack. This allows | José Valim | 2010-05-30 | 1 | -3/+45 |
| | | | | | | | | you to do the following: class PostsController < ApplicationController use AutheMiddleware, :except => [:index, :show] end | ||||
* | Return a valid Rack response from bare ActionController::Metal | Carlhuda | 2010-03-18 | 1 | -1/+7 |
| | |||||
* | Eliminate warnings for AM on 1.8 | wycats | 2010-03-16 | 1 | -1/+5 |
| | |||||
* | Simplify the action endpoint: | Carlhuda | 2010-03-08 | 1 | -25/+9 |
| | | | | | | | * Remove ActionEndpoint in favor of passing a block to MiddlewareStack * Always create a Request; the performance win of RackDelegation is around the response; the Request object hit is limited to a single object allocation * #dispatch takes a Request | ||||
* | Add missing super call in AC::Metal. [#4085 status:resolved] | José Valim | 2010-03-03 | 1 | -0/+1 |
| | |||||
* | Update AP to start locking down a public API. This work is parallel to some ↵ | Yehuda Katz | 2010-02-16 | 1 | -0/+8 |
| | | | | docs I'm working on. | ||||
* | Convert to class_attribute | Jeremy Kemper | 2010-02-01 | 1 | -2/+7 |
| | |||||
* | Expose last controller in rack env["action_controller.instance"] | Joshua Peek | 2010-01-20 | 1 | -0/+1 |
| | |||||
* | controller_path is required by ActionView, so move it up to ↵ | José Valim | 2009-12-31 | 1 | -15/+0 |
| | | | | AbstractController and refactor AbstractController::Layouts. | ||||
* | Silence some trivial warnings: shadowed local vars, indentation mismatches | Jeremy Kemper | 2009-12-28 | 1 | -1/+1 |
| | |||||
* | AD::StatusCodes support is now part of rack | Joshua Peek | 2009-12-22 | 1 | -1/+1 |
| | |||||
* | AC::Head now doesn't have an unfulfilled Rendering dependency, and instead ↵ | Yehuda Katz | 2009-12-20 | 1 | -0/+5 |
| | | | | works just fine standalone (which means that ConditionalGet also doesn't have a Rendering dependency) | ||||
* | Rename RackConvenience => RackDelegation | Joshua Peek | 2009-12-20 | 1 | -3/+3 |
| | |||||
* | Renamed Redirector to Redirecting (its a module, not a class) | David Heinemeier Hansson | 2009-12-20 | 1 | -1/+1 |
| | |||||
* | Update AC::Middleware to play better with the normal AC::Metal stack. This ↵ | Yehuda Katz | 2009-11-05 | 1 | -3/+3 |
| | | | | required stopping to use #call for non-rack-related stuff | ||||
* | Start rewriting some internal tests to use the new routing dsl | Joshua Peek | 2009-10-20 | 1 | -0/+4 |
| | |||||
* | Uses extlib_inheritable_accessor | Jeremy Kemper | 2009-09-14 | 1 | -0/+2 |
| | |||||
* | Memoize in the endpoint. | Yehuda Katz | 2009-09-12 | 1 | -5/+10 |
| | |||||
* | Add per-controller middleware | Yehuda Katz | 2009-09-12 | 1 | -1/+14 |
| | |||||
* | Create new ActionController::Middleware class that will work as a normal ↵ | Yehuda Katz | 2009-08-26 | 1 | -22/+0 |
| | | | | | | Rack middleware. * This initial implementation is a bit hackish, but it uses a normal middleware API so it's future-proof when we improve the internals. | ||||
* | ActionController::Metal can be a middleware | Yehuda Katz + Carl Lerche | 2009-08-25 | 1 | -5/+35 |
| | |||||
* | Move AbstractController to a top-level component | Yehuda Katz | 2009-08-06 | 1 | -2/+0 |
| | |||||
* | ActionController::Metal#to_rack converted to #to_a to match normal rack ↵ | Yehuda Katz | 2009-08-06 | 1 | -2/+2 |
| | | | | convention | ||||
* | Rename /base to /metal and make base.rb and metal.rb top-level to reflect ↵ | Yehuda Katz | 2009-08-06 | 1 | -0/+99 |
their module locations |