search for: set_dispatch_vari

Displaying 2 results from an estimated 2 matches for "set_dispatch_vari".

2007 Sep 21
1
RESTful route gives a 500 error when Content-Type is set
...rb-0.4.0/lib/merb/core_ext/hash.rb:67:in `from_xml'' /usr/lib/ruby/gems/1.8/gems/merb-0.4.0/lib/merb/request.rb:83:in `xml_params'' /usr/lib/ruby/gems/1.8/gems/merb-0.4.0/lib/merb/request.rb:96:in `params'' /usr/lib/ruby/gems/1.8/gems/merb-0.4.0/lib/merb/controller.rb:49:in `set_dispatch_variables'' /usr/lib/ruby/gems/1.8/gems/merb-0.4.0/lib/merb/controller.rb:43:in `build'' /usr/lib/ruby/gems/1.8/gems/merb-0.4.0/lib/merb/dispatcher.rb:84:in `dispatch_default_exception'' /usr/lib/ruby/gems/1.8/gems/merb-0.4.0/lib/merb/dispatcher.rb:74:in `dispatch_exception'&...
2007 Sep 18
10
Routes
hi all, I want to move some routing tasks out of the router and into the controller. The goal is to make Merb feel less like mod_rewrite and give the user more control at the controller. The new Router is simple: it takes the path_info (not the whole request) then outputs a controller class and some parameters from the path matching. The rest of the routing would be done at the controller level.