GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

public
Rubygem
Description: Merb Core: All you need. None you don't.
Homepage: http://www.merbivore.com
Clone URL: git://github.com/wycats/merb-core.git
Added documentation for Rack::Helpers.
mtodd (author)
Fri Oct 10 22:52:37 -0700 2008
commit  19a3402711af8eaa1a4a706b951308e24ea8d1e9
tree    5bc69679793874b4cc7ea691c6f3e667a77c41e9
parent  d4003c983169052551eb884f456600fc826bfa55
...
2
3
4
 
 
 
 
 
 
 
 
 
 
 
 
 
5
6
7
...
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
0
@@ -2,6 +2,19 @@ module Merb
0
   module Rack
0
     module Helpers
0
       
0
+ # Generates a Rack redirection response based on the params.
0
+ #
0
+ # ==== Parameters
0
+ # url<String>:: the URL to redirect to.
0
+ # options<Hash>:: An options hash (see below)
0
+ #
0
+ # ==== Options (options)
0
+ # :permanent<Boolean>::
0
+ # indicates a permanent (301) or temporary (302) redirect.
0
+ # :status<Integer>::
0
+ # the status of the response, defaults to 302.
0
+ #
0
+ # @api public
0
       def self.redirect(url, options = {})
0
         # Build the rack array
0
         status = options.delete(:status)

Comments

    No one has commented yet.