aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/journey/formatter.rb
diff options
context:
space:
mode:
authorViktar Basharymau <viktar.basharymau@thehamon.com>2014-05-23 18:00:50 +0300
committerViktar Basharymau <viktar.basharymau@thehamon.com>2014-05-23 18:00:50 +0300
commitfd035692103b52509940a8b991a0ea1cb5424fce (patch)
treefc4e2bde118a1545d8d3a188b3795bef3435ddc7 /actionpack/lib/action_dispatch/journey/formatter.rb
parent0cc7f02b890d33a4e3d2a7e09f66781745e33820 (diff)
downloadrails-fd035692103b52509940a8b991a0ea1cb5424fce.tar.gz
rails-fd035692103b52509940a8b991a0ea1cb5424fce.tar.bz2
rails-fd035692103b52509940a8b991a0ea1cb5424fce.zip
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.
Diffstat (limited to 'actionpack/lib/action_dispatch/journey/formatter.rb')
-rw-r--r--actionpack/lib/action_dispatch/journey/formatter.rb5
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|