1. 14 2月, 2014 1 次提交
  2. 13 2月, 2014 1 次提交
    • L
      Variant negotiation · f9b6b865
      Lukasz Strzalkowski 提交于
      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
      f9b6b865
  3. 11 2月, 2014 16 次提交
  4. 10 2月, 2014 2 次提交
    • Y
    • A
      Set the :shallow_path as each scope is generated · 462d7cb3
      Andrew White 提交于
      If we set :shallow_path when shallow is called it can result in incorrect
      paths if the resource is inside a namespace because namespace itself sets
      the :shallow_path option to the namespace path.
      
      We fix this by removing the :shallow_path option from shallow as that should
      only be turning shallow routes on and not otherwise affecting the scope.
      To do this we need to treat the :shallow option to resources differently to
      other scope options and move it to before the nested block is called.
      
      This change also has the positive side effect of making the behavior of the
      :shallow option consistent with the shallow method.
      
      Fixes #12498.
      462d7cb3
  5. 09 2月, 2014 7 次提交
  6. 08 2月, 2014 3 次提交
  7. 07 2月, 2014 1 次提交
  8. 06 2月, 2014 1 次提交
  9. 01 2月, 2014 2 次提交
  10. 31 1月, 2014 1 次提交
  11. 30 1月, 2014 4 次提交
  12. 29 1月, 2014 1 次提交