From fd035692103b52509940a8b991a0ea1cb5424fce Mon Sep 17 00:00:00 2001 From: Viktar Basharymau Date: Fri, 23 May 2014 18:00:50 +0300 Subject: 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. --- actionpack/lib/action_dispatch/journey/formatter.rb | 5 ----- 1 file changed, 5 deletions(-) (limited to 'actionpack') 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| -- cgit v1.2.3