aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/fixtures/respond_to/using_defaults.html.erb
diff options
context:
space:
mode:
authoryuuji.yaginuma <yuuji.yaginuma@gmail.com>2017-03-06 08:30:41 +0900
committeryuuji.yaginuma <yuuji.yaginuma@gmail.com>2017-03-06 08:33:39 +0900
commit0c1ff4243e40ff7535bfd348efa1888733599ab0 (patch)
tree27f41bb8e085da383eb55544873a27397dc72194 /actionpack/test/fixtures/respond_to/using_defaults.html.erb
parent12038f6505cdbcdbea861c7ae5f272e918100e13 (diff)
downloadrails-0c1ff4243e40ff7535bfd348efa1888733599ab0.tar.gz
rails-0c1ff4243e40ff7535bfd348efa1888733599ab0.tar.bz2
rails-0c1ff4243e40ff7535bfd348efa1888733599ab0.zip
Fix `direct` with params example [ci skip]
Since `ActionController:Parameters` does not inherit `Hash`, need to explicitly convert it to `Hash`. Also, `Parameters#to_h` returns `Hash` whose key is `String`. Therefore, if merge as it is, the value will not be overwritten as expected.
Diffstat (limited to 'actionpack/test/fixtures/respond_to/using_defaults.html.erb')
0 files changed, 0 insertions, 0 deletions