diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-05-23 14:58:00 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-05-23 14:58:00 -0300 |
commit | 7d457e9c701e662f0910b4161c3ba1a0fc78b0c1 (patch) | |
tree | c3edd9d11dddf43817c3cf8dfcf6fa27198a7519 /actionpack/lib | |
parent | 0f5e3a9f6b8a5c292092fb73a5071af102242e57 (diff) | |
parent | fd035692103b52509940a8b991a0ea1cb5424fce (diff) | |
download | rails-7d457e9c701e662f0910b4161c3ba1a0fc78b0c1.tar.gz rails-7d457e9c701e662f0910b4161c3ba1a0fc78b0c1.tar.bz2 rails-7d457e9c701e662f0910b4161c3ba1a0fc78b0c1.zip |
Merge pull request #15273 from DNNX/formatter-refactoring-4
Remove AD::Journey::Formatter#verify_required_parts!
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_dispatch/journey/formatter.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/actionpack/lib/action_dispatch/journey/formatter.rb b/actionpack/lib/action_dispatch/journey/formatter.rb index 8b3081d8fe..6d58323789 100644 --- a/actionpack/lib/action_dispatch/journey/formatter.rb +++ b/actionpack/lib/action_dispatch/journey/formatter.rb @@ -132,11 +132,6 @@ module ActionDispatch } end - # Returns +true+ if no missing keys are present, otherwise +false+. - def verify_required_parts!(route, parts) - missing_keys(route, parts).empty? - end - def build_cache root = { ___routes: [] } routes.each_with_index do |route, i| |