mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
f9b6b865e6
Allow setting `request.variant` as an array - an order in which they will be rendered. For example: request.variant = [:tablet, :phone] respond_to do |format| format.html.none format.html.phone # this gets rendered end |
||
---|---|---|
.. | ||
accept_format_test.rb | ||
respond_to_test.rb | ||
respond_with_test.rb |