Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Further improve RENDER_DEPENDENCY regexp comments

  • Loading branch information...
commit e7c23a4a7a0a576231b9d77f4ec47f7f10eb7d42 1 parent 979d327
@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
@@ -16,7 +16,7 @@ class Digestor
# render(message.topics) => render("topics/topic")
RENDER_DEPENDENCY = /
render\s* # render, followed by optional whitespace
- \(? # start a optional parenthesis for the render call
+ \(? # start an 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
/x
Please sign in to comment.
Something went wrong with that request. Please try again.