diff options
author | Christos Zisopoulos <christos@me.com> | 2012-08-30 14:17:03 +0200 |
---|---|---|
committer | Christos Zisopoulos <christos@me.com> | 2012-08-30 14:17:03 +0200 |
commit | 979d327e1e0da9f0e990d5b5edcef752ffce5d54 (patch) | |
tree | d1ee894a3b01a5ececde893aac6c3b7584bb88d0 /actionpack | |
parent | 17f2499f04ff154ddd673f5522158fd01e9e054e (diff) | |
download | rails-979d327e1e0da9f0e990d5b5edcef752ffce5d54.tar.gz rails-979d327e1e0da9f0e990d5b5edcef752ffce5d54.tar.bz2 rails-979d327e1e0da9f0e990d5b5edcef752ffce5d54.zip |
Improve RENDER_DEPENDENCY regexp comment to keep the doc editor happy.
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_view/digestor.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/digestor.rb b/actionpack/lib/action_view/digestor.rb index 01074c0687..f2c37f5613 100644 --- a/actionpack/lib/action_view/digestor.rb +++ b/actionpack/lib/action_view/digestor.rb @@ -15,7 +15,7 @@ module ActionView # 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 |