[webui] fixing modifyRequest
authorStephan Kulow <coolo@suse.de>
Wed, 20 Apr 2011 12:02:36 +0000 (14:02 +0200)
committerStephan Kulow <coolo@suse.de>
Wed, 20 Apr 2011 12:02:36 +0000 (14:02 +0200)
commit78a1e146881878900f7a711bec9179a16d30d427
tree55086f30214a8eef9fd1641e9674c9ac4753e7f3
parent80daced10fc80798a6f3268001f6358791462539
[webui] fixing modifyRequest

This is a tricky problem (left aside that the .merge was completely pointless)
because params is a hash of string->string and the defaults were symbol->string.
the merge would put both string and symbol in the resulting hash and opts[:project]
would prefer the (default) symbol instead of the paramter
src/webui/app/models/bs_request.rb