Permalink
Browse files

Remove AD::Journey::Formatter#verify_required_parts!

Nobody uses this private method, maybe it is a leftover from some old
refactoring. Let's delete it.
  • Loading branch information...
1 parent 0cc7f02 commit fd035692103b52509940a8b991a0ea1cb5424fce @DNNX DNNX committed May 23, 2014
Showing with 0 additions and 5 deletions.
  1. +0 −5 actionpack/lib/action_dispatch/journey/formatter.rb
@@ -132,11 +132,6 @@ def possibles(cache, options, depth = 0)
}
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|

0 comments on commit fd03569

Please sign in to comment.