Permalink
Browse files

No need the else clause

  • Loading branch information...
rafaelfranca committed Sep 24, 2013
1 parent 9357e5e commit 3cdeac8cb7e8ab2c11d3a512675a7cd825fbb83e
Showing with 0 additions and 2 deletions.
  1. +0 −2 actionpack/lib/action_dispatch/journey/visitors.rb
@@ -121,8 +121,6 @@ def visit_CAT(node, optional)
def visit_SYMBOL(node)
if value = options[node.to_sym]
Router::Utils.escape_path(value)
- else
- nil
end
end
end

0 comments on commit 3cdeac8

Please sign in to comment.