diff options
| author | Rafael França <rafaelmfranca@gmail.com> | 2019-02-26 14:44:33 -0500 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-02-26 14:44:33 -0500 | 
| commit | 3ee0dabb8443c636bf3b51ef051b4b94ee2af460 (patch) | |
| tree | 1837aad4184e823ddf01ffeece204173568a0d29 /actionpack | |
| parent | 383efb0138a8e8b69c85d787fae5fc28e214e6a3 (diff) | |
| parent | f06e14696522f5f6ad2741c5b5aea7c40cae5416 (diff) | |
| download | rails-3ee0dabb8443c636bf3b51ef051b4b94ee2af460.tar.gz rails-3ee0dabb8443c636bf3b51ef051b4b94ee2af460.tar.bz2 rails-3ee0dabb8443c636bf3b51ef051b4b94ee2af460.zip | |
Merge pull request #35422 from ricardotk002/fix-indentation-ad-routing
Fix code examples' indentation in ActionDispatch::Routing
Diffstat (limited to 'actionpack')
| -rw-r--r-- | actionpack/lib/action_dispatch/routing.rb | 8 | 
1 files changed, 4 insertions, 4 deletions
| diff --git a/actionpack/lib/action_dispatch/routing.rb b/actionpack/lib/action_dispatch/routing.rb index f832719f19..d78b1c4f71 100644 --- a/actionpack/lib/action_dispatch/routing.rb +++ b/actionpack/lib/action_dispatch/routing.rb @@ -210,8 +210,8 @@ module ActionDispatch    # === +assert_routing+    #    #   def test_movie_route_properly_splits -  #    opts = {controller: "plugin", action: "checkout", id: "2"} -  #    assert_routing "plugin/checkout/2", opts +  #     opts = {controller: "plugin", action: "checkout", id: "2"} +  #     assert_routing "plugin/checkout/2", opts    #   end    #    # +assert_routing+ lets you test whether or not the route properly resolves into options. @@ -219,8 +219,8 @@ module ActionDispatch    # === +assert_recognizes+    #    #   def test_route_has_options -  #    opts = {controller: "plugin", action: "show", id: "12"} -  #    assert_recognizes opts, "/plugins/show/12" +  #     opts = {controller: "plugin", action: "show", id: "12"} +  #     assert_recognizes opts, "/plugins/show/12"    #   end    #    # Note the subtle difference between the two: +assert_routing+ tests that | 
