Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | modules don't have any instance methods | Aaron Patterson | 2011-12-29 | 1 | -3/+1 | |
| | | | ||||||
* | | | deprecate String#encoding_aware? and remove its usage | Sergey Nartimov | 2011-12-24 | 1 | -1/+1 | |
| | | | ||||||
* | | | Move symbolize keys to the inner options as we can assume url_options will ↵ | José Valim | 2011-12-08 | 1 | -1/+1 | |
| | | | | | | | | | | | | be properly symbolized. | |||||
* | | | Named Routes shouldn't override existing ones (currently route recognition ↵ | Andy Jeffries | 2011-12-05 | 1 | -1/+1 | |
|/ / | | | | | | | goes with the earliest match, named routes use the latest match) | |||||
* | | Fix typo in Dispatcher#controller documentation | Aviv Ben-Yosef | 2011-11-01 | 1 | -1/+1 | |
| | | ||||||
* | | Leave escaping up to Journey | Jeremy Kemper | 2011-10-13 | 1 | -4/+3 | |
| | | ||||||
* | | fix require | Aaron Patterson | 2011-10-06 | 1 | -1/+1 | |
| | | ||||||
* | | Fix named routes modifying arguments | Pawel Pierzchala | 2011-09-22 | 1 | -3/+4 | |
| | | ||||||
* | | removing backwards compatibility module | Aaron Patterson | 2011-09-12 | 1 | -5/+4 | |
| | | ||||||
* | | unfactor the Route class to private factory methods | Aaron Patterson | 2011-09-12 | 1 | -5/+42 | |
| | | ||||||
* | | reduce dependencies of external objects in the Route class | Aaron Patterson | 2011-09-12 | 1 | -3/+3 | |
| | | ||||||
* | | delete unused code, pass path explicitly to journey | Aaron Patterson | 2011-09-12 | 1 | -1/+2 | |
| | | ||||||
* | | all routes can be stored in the Journey Routes object | Aaron Patterson | 2011-09-12 | 1 | -5/+4 | |
| | | ||||||
* | | clear! does not need to be called from initialize | Aaron Patterson | 2011-09-12 | 1 | -4/+3 | |
| | | ||||||
* | | reuse the route collection and formatter by clearing them | Aaron Patterson | 2011-09-12 | 1 | -6/+10 | |
| | | ||||||
* | | Instantiate each part of our routing system: | Aaron Patterson | 2011-09-12 | 1 | -7/+8 | |
| | | | | | | | | | | | | * A collection of Routes * The Router, which consults the collection of routes * A formatter that consults the collection of routes | |||||
* | | stop freezing the routes | Aaron Patterson | 2011-09-12 | 1 | -1/+0 | |
| | | ||||||
* | | stop using a hash for parameterizing | Aaron Patterson | 2011-09-12 | 1 | -11/+9 | |
| | | ||||||
* | | Switching rack-mount to journey. | Aaron Patterson | 2011-09-12 | 1 | -1/+2 | |
|/ | ||||||
* | TODO fix explicitly loading exceptations, autoload removed | Vishnu Atrai | 2011-07-11 | 1 | -0/+1 | |
| | ||||||
* | prepend the assets route instead of appending, closes #436 | José Valim | 2011-05-08 | 1 | -3/+6 | |
| | ||||||
* | Use #remove_possible_method instead here | Sebastian Martinez | 2011-05-04 | 1 | -2/+3 | |
| | ||||||
* | raise an error if the old router draw method is used, along with a message ↵ | Josh Kalderimis | 2011-05-03 | 1 | -0/+5 | |
| | | | | advising them to either upgrade their routes or add rails_legacy_mapper to their Gemfile | |||||
* | Explicitly define main_app proxy | Piotr Sarnacki | 2011-04-25 | 1 | -2/+1 | |
| | ||||||
* | stop being clever and just call methods on the Route object | Aaron Patterson | 2011-03-08 | 1 | -1/+1 | |
| | ||||||
* | Raise ArgumentError if route name is invalid [#6517 state:resolved] | Andrew White | 2011-03-06 | 1 | -0/+2 | |
| | ||||||
* | use newer class cache api | Aaron Patterson | 2011-03-02 | 1 | -1/+1 | |
| | ||||||
* | refactor Reference to a ClassCache object, fix lazy lookup in Middleware so ↵ | Aaron Patterson | 2011-03-01 | 1 | -2/+3 | |
| | | | | that anonymous classes are supported | |||||
* | Fix assert_recognizes with block constraints [#5805 state:resolved] | Andrew White | 2011-02-13 | 1 | -1/+3 | |
| | ||||||
* | use raise to create exceptions and to set the backtrace | Aaron Patterson | 2011-01-12 | 1 | -1/+1 | |
| | ||||||
* | The redirect routing method now allows for a hash of options which only ↵ | Josh Kalderimis | 2010-11-30 | 1 | -44/+18 | |
| | | | | changes the relevant parts of the url, or an object which responds to call can be supplied so common redirect rules can be easily reused. This commit includes a change where url generation from parts has been moved to AD::Http::URL as a class method. | |||||
* | Speed up subdomain and domain calculus. | José Valim | 2010-11-23 | 1 | -14/+6 | |
| | ||||||
* | :subdomain, :domain and :tld_length options can now be used in url_for, ↵ | Josh Kalderimis | 2010-11-23 | 1 | -6/+32 | |
| | | | | | | allowing for easy manipulation of the host during link generation. Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Properly reload routes defined in class definition | Piotr Sarnacki | 2010-09-30 | 1 | -0/+1 | |
| | | | | | | | | | | | | | | | | | Sometimes it's easier to define routes inside Engine or Application class definition (e.g. one file applications). The problem with such case is that if there is a plugin that has config/routes.rb file, it will trigger routes reload on application. Since routes definition for application is not in config/routes.rb file routes_reloader will fail to reload application's routes properly. With this commit you can pass routes definition as a block to routes method, which will allow to properly reload it: class MyApp::Application < Rails::Application routes do resources :users end end | |||||
* | Allow mounting engines at '/' | Piotr Sarnacki | 2010-09-30 | 1 | -1/+1 | |
| | | | | | Without that commit script_name always become '/', which results in paths like //posts/1 instead of /posts/1 | |||||
* | Merge remote branch 'miloops/warnings' | José Valim | 2010-09-29 | 1 | -1/+1 | |
|\ | ||||||
| * | Use redefine_method instead define_method, it may be already defined. | Emilio Tagua | 2010-09-28 | 1 | -1/+1 | |
| | | ||||||
| * | Move uri parser to AS as URI.parser method to reuse it in AP and ARes. | Emilio Tagua | 2010-09-27 | 1 | -8/+2 | |
| | | ||||||
* | | Move uri parser to AS as URI.parser method to reuse it in AP and ARes. | Emilio Tagua | 2010-09-28 | 1 | -8/+2 | |
| | | ||||||
* | | Fix tests on 1.9.2. | José Valim | 2010-09-28 | 1 | -5/+0 | |
| | | ||||||
* | | Properly initialize variables inside the initialize method. | José Valim | 2010-09-27 | 1 | -3/+8 | |
|/ | ||||||
* | Define @_routes inside method, makes more sense and will be initialized when ↵ | Emilio Tagua | 2010-09-27 | 1 | -1/+1 | |
| | | | | | | called anywhere. Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | Remove warning "URI.unescape is obsolete" from actionpack. | Emilio Tagua | 2010-09-27 | 1 | -4/+2 | |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | Merge remote branch 'miloops/warnings' | José Valim | 2010-09-27 | 1 | -2/+12 | |
|\ | | | | | | | | | Conflicts: actionpack/lib/action_controller/metal/url_for.rb | |||||
| * | Remove old method before redefining it. | Emilio Tagua | 2010-09-27 | 1 | -0/+2 | |
| | | ||||||
| * | Remove warning "URI.unescape is obsolete" from actionpack. | Emilio Tagua | 2010-09-27 | 1 | -2/+10 | |
| | | ||||||
* | | Hash#empty? is faster than Enumerable#any? when used on a Hash. | thedarkone | 2010-09-27 | 1 | -1/+1 | |
| | | ||||||
* | | No need to create a separate lambda for each call. | thedarkone | 2010-09-27 | 1 | -15/+14 | |
|/ | ||||||
* | Refactor routing methods. | Emilio Tagua | 2010-09-22 | 1 | -6/+1 | |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | Add RouteSet#append | Carl Lerche | 2010-09-17 | 1 | -4/+12 | |
| | | | Allows specifying blocks to the routeset that will get appended after the RouteSet is drawn. |