Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

remove unnecessary else statement

  • Loading branch information...
commit 7554e5cdf49bbc337ebd7cc68c5dd459c6b296af 1 parent 75f03ec
@nashby nashby authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 actionpack/lib/action_controller/test_case.rb
View
6 actionpack/lib/action_controller/test_case.rb
@@ -27,13 +27,13 @@ def setup_subscriptions
path = payload[:virtual_path]
next unless path
partial = path =~ /^.*\/_[^\/]*$/
+
if partial
@partials[path] += 1
@partials[path.split("/").last] += 1
- @templates[path] += 1
- else
- @templates[path] += 1
end
+
+ @templates[path] += 1
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.