Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | adds missing requires for Object#blank? and Object#present? | Xavier Noria | 2010-03-28 | 2 | -0/+3 | |
| | | ||||||
* | | ActionController::Resources has gone away | Andrew White | 2010-03-31 | 1 | -2/+1 | |
| | | ||||||
* | | Remove routing implementation details from RDoc | Andrew White | 2010-03-31 | 2 | -9/+9 | |
| | | ||||||
* | | Mark ActionDispatch::Routing::DeprecatedMapper as nodoc to hide old ↵ | Andrew White | 2010-03-31 | 1 | -1/+1 | |
|/ | | | | documentation until it's removed | |||||
* | Fix a mistake in the documentation (ht: Evgeniy Dolzhenko) [#4217 ↵ | wycats | 2010-03-27 | 1 | -1/+1 | |
| | | | | state:resolved] | |||||
* | Fix named routes for member actions of singleton resources [#4266 ↵ | Andrew White | 2010-03-27 | 1 | -1/+1 | |
| | | | | | state:resolved] Signed-off-by: wycats <wycats@gmail.com> | |||||
* | Add parameter defaults support to new routing DSL [#4265 state:resolved] | Andrew White | 2010-03-27 | 1 | -1/+19 | |
| | | | Signed-off-by: wycats <wycats@gmail.com> | |||||
* | Rails router automatically calculated for you the controller and named ↵ | José Valim | 2010-03-26 | 1 | -5/+3 | |
| | | | | | | | | | routes in the following scenarios: match "home/about" #=> maps to home#about with named route home_about_path match "about" #=> does not work because it cannot guess the controller match "about" => "home#about" #=> maps to home#about with named route home_about_path match "home/about", :as => "about" #=> maps to home#about with named route about_path | |||||
* | Protect routes again so they don't end up as actions. We need a better ↵ | wycats | 2010-03-23 | 1 | -0/+1 | |
| | | | | solution than this. | |||||
* | Make router shortcuts more polite to URLs starting with a leading slash. | José Valim | 2010-03-22 | 1 | -15/+17 | |
| | ||||||
* | We seem to have removed the URL helpers from ActionView subclasses... | wycats | 2010-03-18 | 1 | -0/+1 | |
| | ||||||
* | Install url helpers on module instance so they can be accessed | Joshua Peek | 2010-03-17 | 1 | -5/+13 | |
| | | | | globally | |||||
* | Make sure options[:anchor] is correct in shorthand cases | wycats | 2010-03-16 | 1 | -2/+5 | |
| | ||||||
* | Do not always include the named URL helpers into AC::Base and AV::Base. | Carl Lerche | 2010-03-16 | 1 | -1/+0 | |
| | ||||||
* | Make RouteSet#finalize! a NOOP if it's been called already. Call finalize! ↵ | Carl Lerche | 2010-03-16 | 1 | -0/+5 | |
| | | | | the first time call() and url_for() are called if the RouteSet has not been finalized yet. | |||||
* | Revert "Reinstate old default_url_options method signature" | Jeremy Kemper | 2010-03-15 | 1 | -1/+1 | |
| | | | | This reverts commit 5913dd478150710fc0b72a0568f68e13c958d6bc. | |||||
* | Reinstate old default_url_options method signature | Jeremy Kemper | 2010-03-15 | 1 | -1/+1 | |
| | ||||||
* | Don't force singularization of singleton resource names, e.g. /preferences ↵ | Andrew White | 2010-03-15 | 1 | -8/+8 | |
| | | | | | | [#4089 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | |||||
* | skip_relative_url_root url_for option is dead | Joshua Peek | 2010-03-09 | 2 | -3/+1 | |
| | ||||||
* | Allow default_url_options to be set on route set | Joshua Peek | 2010-03-09 | 2 | -0/+9 | |
| | ||||||
* | RouteSet#rewrite => url_for | Joshua Peek | 2010-03-09 | 2 | -3/+2 | |
| | ||||||
* | Unused RouteSet#url_for is hogging a good method name | Joshua Peek | 2010-03-09 | 1 | -13/+4 | |
| | ||||||
* | Move AC::UrlRewriter onto route set | Joshua Peek | 2010-03-09 | 2 | -1/+57 | |
| | ||||||
* | Refactor the RouteSet so it uses a Generator object instead of one huge method. | wycats | 2010-03-09 | 1 | -87/+109 | |
| | ||||||
* | Reinstate default_url_options and remove url_options= writer | Jeremy Kemper | 2010-03-08 | 1 | -47/+19 | |
| | ||||||
* | Remove outdated, distracting commented code | Jeremy Kemper | 2010-03-08 | 1 | -25/+0 | |
| | ||||||
* | Now that class_attribute creates an instance method, remove it to avoid ↵ | wycats | 2010-03-08 | 1 | -1/+2 | |
| | | | | deprecation warnings ;) | |||||
* | Require 'active_support/core_ext/hash/except' in the router. | Carl Lerche | 2010-03-08 | 1 | -0/+2 | |
| | ||||||
* | Whoops. We meant to switch from returning to tap, not vice versa | Carlhuda | 2010-03-08 | 1 | -1/+1 | |
| | ||||||
* | Add support for mount RackApp, :at => "/sprockets" with a shorthand of mount ↵ | Carlhuda | 2010-03-08 | 3 | -10/+25 | |
| | | | | | | | | | | 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". | |||||
* | Make sure nested singular resources get the correct name | Jan De Poorter | 2010-03-07 | 1 | -1/+4 | |
| | | | | | | [#3911 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Make many parts of Rails lazy. In order to facilitate this, | wycats | 2010-03-07 | 1 | -1/+3 | |
| | | | | | | | | | | | | add lazy_load_hooks.rb, which allows us to declare code that should be run at some later time. For instance, this allows us to defer requiring ActiveRecord::Base at boot time purely to apply configuration. Instead, we register a hook that should apply configuration once ActiveRecord::Base is loaded. With these changes, brings down total boot time of a new app to 300ms in production and 400ms in dev. TODO: rename base_hook | |||||
* | Tweak default_url_options deprecation warning | Jeremy Kemper | 2010-03-05 | 1 | -2/+2 | |
| | ||||||
* | Remove the ability to set the mountpoint when initializing a route set. | Carl Lerche | 2010-03-04 | 1 | -4/+3 | |
| | ||||||
* | Tweak out url_for uses :script_name and add some tests | Carl Lerche | 2010-03-04 | 2 | -10/+11 | |
| | ||||||
* | Have ActionDispatch::Routing::RouteSet.new ready to receive routes as is. | Carl Lerche | 2010-03-04 | 1 | -0/+1 | |
| | ||||||
* | Get rid of relative_url_path in favor of respecting SCRIPT_NAME. Also added ↵ | Carlhuda | 2010-03-04 | 2 | -2/+9 | |
| | | | | a way to specify a default SCRIPT_NAME when generating URLs out of the context of a request. | |||||
* | Remove implicit controller namespacing from new dsl | Joshua Peek | 2010-02-28 | 3 | -23/+27 | |
| | ||||||
* | The instance_reader of default_url_options needs to not exist. | Yehuda Katz | 2010-02-27 | 1 | -0/+1 | |
| | ||||||
* | If IntegrationSession is initialized with an objects that responds to ↵ | Carlhuda | 2010-02-26 | 1 | -1/+0 | |
| | | | | #routes, automatically extend the URL helpers from the RouteSet onto it | |||||
* | Change the API for setting global options for #url_for to self.url_options = ↵ | Carlhuda | 2010-02-26 | 1 | -11/+23 | |
| | | | | | | { ... } This attr_accessor can be set in a before filter or in the action itself. Overwriting default_url_options still works but will output a deprecation notice. | |||||
* | Remove the :use_defaults check in UrlFor#merge options | Carlhuda | 2010-02-26 | 1 | -1/+1 | |
| | ||||||
* | Rename named_url_helpers to url_helpers and url_helpers to url_for | Carlhuda | 2010-02-26 | 1 | -6/+5 | |
| | ||||||
* | Final pass at removing the router from a global constant | Carlhuda | 2010-02-25 | 1 | -5/+0 | |
| | ||||||
* | Continued effort to deglobalize the router | Carlhuda | 2010-02-25 | 2 | -42/+12 | |
| | ||||||
* | WIP: Remove the global router | Carlhuda | 2010-02-25 | 3 | -1/+198 | |
| | ||||||
* | Remove ActionController::Base.resources_path_names | Carl Lerche | 2010-02-24 | 1 | -7/+8 | |
| | ||||||
* | Use ActionDispatch::Routing everywhere | Martin Schürrer | 2010-02-21 | 1 | -0/+5 | |
| | ||||||
* | Rename router internal option :namespace to :controller_namespace which is ↵ | José Valim | 2010-02-17 | 1 | -3/+3 | |
| | | | | its real purpose. | |||||
* | Merge master. | José Valim | 2010-02-17 | 1 | -1/+1 | |
|\ |