diff options
author | Andy Shipman <andy@cllearview.com> | 2012-10-11 17:36:58 +0100 |
---|---|---|
committer | Andy Shipman <andy@cllearview.com> | 2012-10-11 17:36:58 +0100 |
commit | 2938ef7a65be5527905174b348b58c98a06d20e4 (patch) | |
tree | 841a5c00b53fc414b63f91dfd68d82feb7a355d2 /actionpack/lib/action_view | |
parent | 888a7a5bdc10bf5e2aceaad1cd40979a2388e4c0 (diff) | |
download | rails-2938ef7a65be5527905174b348b58c98a06d20e4.tar.gz rails-2938ef7a65be5527905174b348b58c98a06d20e4.tar.bz2 rails-2938ef7a65be5527905174b348b58c98a06d20e4.zip |
Allow for deep directory path for view templates.
Diffstat (limited to 'actionpack/lib/action_view')
-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 5d3add4091..f5852dbe73 100644 --- a/actionpack/lib/action_view/digestor.rb +++ b/actionpack/lib/action_view/digestor.rb @@ -64,7 +64,7 @@ module ActionView end def directory - name.split("/").first + name.split("/")[0..-2].join("/") end def partial? |