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
Search Repo:
Make query-strings actually work
wycats (author)
Wed Feb 13 11:46:44 -0800 2008
commit  39973931efc14ed19445b64dc3ee4296e8c5b82f
tree    8d9d1fec40102e99c1221348dfaf53f0b206e1af
parent  a35e3427181f46dcd75a3fb419a9ed45a8cdb963
...
32
33
34
35
36
 
 
37
38
39
...
32
33
34
 
 
35
36
37
38
39
0
@@ -32,8 +32,8 @@
0
 
0
   # DOC: Yehuda Katz FAILED
0
   def dispatch_to(controller_klass, action, params = {}, env = {}, &blk)
0
- request = fake_request(env,
0
- :query_string => Merb::Responder.params_to_query_string(params))
0
+ request = fake_request(env.merge(
0
+ :query_string => Merb::Responder.params_to_query_string(params)))
0
 
0
     controller = controller_klass.new(request)
0
     controller.instance_eval(&blk) if block_given?

Comments

    No one has commented yet.