Skip to content

Commit

Permalink
Remove AD::Journey::Formatter#verify_required_parts!
Browse files Browse the repository at this point in the history
Nobody uses this private method, maybe it is a leftover from some old
refactoring. Let's delete it.
  • Loading branch information
Viktar Basharymau committed May 23, 2014
1 parent 0cc7f02 commit fd03569
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions actionpack/lib/action_dispatch/journey/formatter.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -132,11 +132,6 @@ def possibles(cache, options, depth = 0)
} }
end 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 def build_cache
root = { ___routes: [] } root = { ___routes: [] }
routes.each_with_index do |route, i| routes.each_with_index do |route, i|
Expand Down

0 comments on commit fd03569

Please sign in to comment.