José Valim
|
226ea0e9e8
|
Wrap everything in class << self.
|
2010-12-03 13:27:43 +01:00 |
|
Josh Kalderimis
|
0bda6f1ec6
|
The redirect routing method now allows for a hash of options which only 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.
|
2010-11-30 16:36:01 +01:00 |
|
Josh Kalderimis
|
e39138478b
|
port_string bought back to life as it is part of the public api
Signed-off-by: José Valim <jose.valim@gmail.com>
|
2010-11-24 10:34:18 +01:00 |
|
Josh Kalderimis
|
2fe43b694f
|
:subdomain, :domain and :tld_length options can now be used in url_for, allowing for easy manipulation of the host during link generation.
Signed-off-by: José Valim <jose.valim@gmail.com>
|
2010-11-23 09:54:42 +01:00 |
|
Josh Kalderimis
|
e1e780a31d
|
Brought the domain method in AD http url inline with subdomain where @@tld_length is used by default. Also set the default value of @@tld_length to 1.
|
2010-11-16 18:57:51 +08:00 |
|
Jeremy Kemper
|
0dfdbdd4f4
|
Fix loop introduced by rack:dda892d
|
2010-10-26 11:31:05 -07:00 |
|
José Valim
|
50215f9525
|
Rely on Rack::Session stores API for more compatibility across the Ruby world.
|
2010-10-03 21:24:22 +02:00 |
|
thedarkone
|
e12e2fb4f6
|
Cache 2 of Request's commonly called methods.
|
2010-09-27 17:45:59 +02:00 |
|
Simon Jefford
|
7fae0aa4ac
|
Add configuration option for tld length
|
2010-09-09 18:26:35 -07:00 |
|
Carlos Antonio da Silva
|
9532d746a9
|
Cleanup deprecations in Action Dispatch
Signed-off-by: José Valim <jose.valim@gmail.com>
|
2010-09-06 13:41:12 +02:00 |
|
Joost Baaij
|
4a56f8f314
|
escape constants that should not be linked to
|
2010-08-27 22:47:11 +02:00 |
|
Andrew White
|
0d0fbf1e64
|
Don't add the standard https port when using redirect in routes.rb and ensure that request.scheme returns https when using a reverse proxy.
[#5408 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
|
2010-08-20 10:40:34 -03:00 |
|
Carlhuda
|
52efbdcdef
|
Add caller to request_uri deprecation notice
|
2010-03-03 21:24:00 -08:00 |
|
Carl Lerche
|
fb14b8c6fd
|
ActionDispatch::Request deprecates #request_uri
* Refactored ActionPatch to use fullpath instead
|
2010-03-03 21:24:00 -08:00 |
|
Carl Lerche
|
c92d598abf
|
Rack::Request actually defines #query_string
|
2010-03-03 21:23:59 -08:00 |
|
Carlhuda
|
5e0a05b8cb
|
Tweak the semantic of various URL related methods of ActionDispatch::Request
|
2010-03-03 21:23:34 -08:00 |
|
Joshua Peek
|
fef7a77386
|
Request#subdomain returns a string version of Request#subdomains
|
2010-02-28 17:16:34 -06:00 |
|
José Valim
|
92f49b5f1e
|
Split ActionDispatch http in smaller chunks.
|
2010-01-16 15:45:07 +01:00 |
|