1. 01 9月, 2014 1 次提交
    • S
      Allow polymorphic routes with nil when a route can still be drawn · 2fae37f0
      Sammy Larbi 提交于
      Suppose you have two resources routed in the following manner:
      
      ```ruby
      resources :blogs do
        resources :posts
      end
      
      resources :posts
      ```
      
      When using polymorphic resource routing like `url_for([@blog, @post])`, and `@blog` is `nil` Rails should still try to match the route to the top-level posts resource.
      
      Fixes #16754
      2fae37f0
  2. 31 8月, 2014 4 次提交
  3. 30 8月, 2014 17 次提交
  4. 29 8月, 2014 18 次提交