lib/nephos-server/controller.rb in nephos-server-0.6.2 vs lib/nephos-server/controller.rb in nephos-server-0.6.3
- old
+ new
@@ -20,10 +20,9 @@
params = @req.path.split("/")
params.shift
@params.merge! Hash[callpath[:params].zip(params)]
@params.select!{|k,v| not k.to_s.empty?}
-
@params = Params.new(@params)
@cookies = Params.new(@req.cookies)
end
@@before_action = {:'*' => []}