Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Improve RENDER_DEPENDENCY regexp comment to keep the doc editor happy.

  • Loading branch information...
commit 979d327e1e0da9f0e990d5b5edcef752ffce5d54 1 parent 17f2499
@christos christos authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  actionpack/lib/action_view/digestor.rb
View
2  actionpack/lib/action_view/digestor.rb
@@ -15,7 +15,7 @@ class Digestor
# render(topics) => render("topics/topic")
# render(message.topics) => render("topics/topic")
RENDER_DEPENDENCY = /
- render\s* # render, followed by an optional space
+ render\s* # render, followed by optional whitespace
\(? # start a optional parenthesis for the render call
(partial:|:partial\s+=>)?\s* # naming the partial, used with collection -- 1st capture
([@a-z"'][@a-z_\/\."']+) # the template name itself -- 2nd capture
Please sign in to comment.
Something went wrong with that request. Please try again.