aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/digestor.rb
diff options
context:
space:
mode:
authorChristos Zisopoulos <christos@me.com>2012-08-30 14:27:07 +0200
committerChristos Zisopoulos <christos@me.com>2012-08-30 14:27:07 +0200
commite7c23a4a7a0a576231b9d77f4ec47f7f10eb7d42 (patch)
tree8e2b00eb0f79620896bc2526739f5457673262a0 /actionpack/lib/action_view/digestor.rb
parent979d327e1e0da9f0e990d5b5edcef752ffce5d54 (diff)
downloadrails-e7c23a4a7a0a576231b9d77f4ec47f7f10eb7d42.tar.gz
rails-e7c23a4a7a0a576231b9d77f4ec47f7f10eb7d42.tar.bz2
rails-e7c23a4a7a0a576231b9d77f4ec47f7f10eb7d42.zip
Further improve RENDER_DEPENDENCY regexp comments
Diffstat (limited to 'actionpack/lib/action_view/digestor.rb')
-rw-r--r--actionpack/lib/action_view/digestor.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/digestor.rb b/actionpack/lib/action_view/digestor.rb
index f2c37f5613..899100d06c 100644
--- a/actionpack/lib/action_view/digestor.rb
+++ b/actionpack/lib/action_view/digestor.rb
@@ -16,7 +16,7 @@ module ActionView
# 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