aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/routing/route_set.rb
Commit message (Collapse)AuthorAgeFilesLines
* Avoid inspecting the whole route set, closes #1525José Valim2012-02-231-0/+6
|
* Merge pull request #5084 from johndouthat/patch-1Aaron Patterson2012-02-221-2/+1
| | | | Remove reference to rails_legacy_mapper, which isn't compatible with 3.2...
* Merge pull request #4988 from kennyj/fix_4720-3Aaron Patterson2012-02-101-0/+5
| | | | Fix GH #4720. Routing problem with nested namespace and already camelized controller option.
* Fixed force_ssl redirects to include original query paramsRyan McGeary2012-02-061-0/+1
| | | | | | `ActionController.force_ssl` redirects http URLs to their https equivalent; however, when a URL contains a query string, the resulting redirect lacked the original query string.
* Merge pull request #4908 from kennyj/fix_3864José Valim2012-02-061-1/+1
| | | | Fix url_for method's behavior. GH #3684.
* Added custom regexps to ASTs that have literal nodes on either side ofAaron Patterson2012-01-231-1/+20
| | | | symbol nodes. Fixes #4585
* Revert "Named Routes shouldn't override existing ones (currently route ↵Aaron Patterson2012-01-031-1/+1
| | | | | | recognition goes with the earliest match, named routes use the latest match)" This reverts commit 71d769e3b58cb56b4b1d5143936c65be8b27c490.
* Move symbolize keys to the inner options as we can assume url_options will ↵José Valim2011-12-081-1/+1
| | | | be properly symbolized.
* Named Routes shouldn't override existing ones (currently route recognition ↵Andy Jeffries2011-12-051-1/+1
| | | | goes with the earliest match, named routes use the latest match)
* Fix typo in Dispatcher#controller documentationAviv Ben-Yosef2011-11-011-1/+1
|
* Leave escaping up to JourneyJeremy Kemper2011-10-131-4/+3
|
* fix requireAaron Patterson2011-10-061-1/+1
|
* Fix named routes modifying argumentsPawel Pierzchala2011-09-221-3/+4
|
* removing backwards compatibility moduleAaron Patterson2011-09-121-5/+4
|
* unfactor the Route class to private factory methodsAaron Patterson2011-09-121-5/+42
|
* reduce dependencies of external objects in the Route classAaron Patterson2011-09-121-3/+3
|
* delete unused code, pass path explicitly to journeyAaron Patterson2011-09-121-1/+2
|
* all routes can be stored in the Journey Routes objectAaron Patterson2011-09-121-5/+4
|
* clear! does not need to be called from initializeAaron Patterson2011-09-121-4/+3
|
* reuse the route collection and formatter by clearing themAaron Patterson2011-09-121-6/+10
|
* Instantiate each part of our routing system:Aaron Patterson2011-09-121-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 routesAaron Patterson2011-09-121-1/+0
|
* stop using a hash for parameterizingAaron Patterson2011-09-121-11/+9
|
* Switching rack-mount to journey.Aaron Patterson2011-09-121-1/+2
|
* TODO fix explicitly loading exceptations, autoload removedVishnu Atrai2011-07-111-0/+1
|
* prepend the assets route instead of appending, closes #436José Valim2011-05-081-3/+6
|
* Use #remove_possible_method instead hereSebastian Martinez2011-05-041-2/+3
|
* raise an error if the old router draw method is used, along with a message ↵Josh Kalderimis2011-05-031-0/+5
| | | | advising them to either upgrade their routes or add rails_legacy_mapper to their Gemfile
* Explicitly define main_app proxyPiotr Sarnacki2011-04-251-2/+1
|
* stop being clever and just call methods on the Route objectAaron Patterson2011-03-081-1/+1
|
* Raise ArgumentError if route name is invalid [#6517 state:resolved]Andrew White2011-03-061-0/+2
|
* use newer class cache apiAaron Patterson2011-03-021-1/+1
|
* refactor Reference to a ClassCache object, fix lazy lookup in Middleware so ↵Aaron Patterson2011-03-011-2/+3
| | | | that anonymous classes are supported
* Fix assert_recognizes with block constraints [#5805 state:resolved]Andrew White2011-02-131-1/+3
|
* use raise to create exceptions and to set the backtraceAaron Patterson2011-01-121-1/+1
|
* The redirect routing method now allows for a hash of options which only ↵Josh Kalderimis2010-11-301-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é Valim2010-11-231-14/+6
|
* :subdomain, :domain and :tld_length options can now be used in url_for, ↵Josh Kalderimis2010-11-231-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 definitionPiotr Sarnacki2010-09-301-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 Sarnacki2010-09-301-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é Valim2010-09-291-1/+1
|\
| * Use redefine_method instead define_method, it may be already defined.Emilio Tagua2010-09-281-1/+1
| |
| * Move uri parser to AS as URI.parser method to reuse it in AP and ARes.Emilio Tagua2010-09-271-8/+2
| |
* | Move uri parser to AS as URI.parser method to reuse it in AP and ARes.Emilio Tagua2010-09-281-8/+2
| |
* | Fix tests on 1.9.2.José Valim2010-09-281-5/+0
| |
* | Properly initialize variables inside the initialize method.José Valim2010-09-271-3/+8
|/
* Define @_routes inside method, makes more sense and will be initialized when ↵Emilio Tagua2010-09-271-1/+1
| | | | | | called anywhere. Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Remove warning "URI.unescape is obsolete" from actionpack.Emilio Tagua2010-09-271-4/+2
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Merge remote branch 'miloops/warnings'José Valim2010-09-271-2/+12
|\ | | | | | | | | Conflicts: actionpack/lib/action_controller/metal/url_for.rb
| * Remove old method before redefining it.Emilio Tagua2010-09-271-0/+2
| |