diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-05-06 18:36:37 -0700 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-05-06 18:36:37 -0700 |
commit | 925728c283f2d6f8f41bf79f6958494f14560aeb (patch) | |
tree | 4701022c8b3382f38629543f05b82eab87eb34cf /actionpack/lib | |
parent | b8577bb67356fead9b72fe36766e32495aa56f52 (diff) | |
parent | 3c516c4b5278c27d55425f7c2f875ca1cd2e8511 (diff) | |
download | rails-925728c283f2d6f8f41bf79f6958494f14560aeb.tar.gz rails-925728c283f2d6f8f41bf79f6958494f14560aeb.tar.bz2 rails-925728c283f2d6f8f41bf79f6958494f14560aeb.zip |
Merge pull request #10377 from bricker/template_digest_ending_with_number
Allow numbers in partial name for digesting
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_view/dependency_tracker.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/dependency_tracker.rb b/actionpack/lib/action_view/dependency_tracker.rb index a2a555dfcb..45d17be605 100644 --- a/actionpack/lib/action_view/dependency_tracker.rb +++ b/actionpack/lib/action_view/dependency_tracker.rb @@ -39,7 +39,7 @@ module ActionView render\s* # render, followed by optional whitespace \(? # 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 + ([@a-z"'][@\w\/\."']+) # the template name itself -- 2nd capture /x def self.call(name, template) |