Permalink
Browse files

Fix incorrect reference point for attributes_for and the internals fo…

…r find_asset_in_static_root
  • Loading branch information...
1 parent 26bc7ff commit 89f9beabef851f6dd1cd907fc5c6fb14692d4a3f @radar committed Aug 25, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 sprockets/sprockets.md
@@ -352,7 +352,7 @@ lines of this
method look like this:
-<div class="example" data-repo='sprockets' data-file='lib/sprockets/static_compilation.rb' data-start='50'>
+<div class="example" data-repo='sprockets' data-file='lib/sprockets/static_compilation.rb' data-start='49'>
pathname = Pathname.new(static_root.join(logical_path))
attributes = attributes_for(pathname)
@@ -372,7 +372,7 @@ point, and joining them together results in
This code then calls out to `attributes_for`, defined in
`lib/sprockets/base.rb`:
-<div class="example" data-repo='sprockets' data-file='lib/sprockets/base.rb' data-start='48'>
+<div class="example" data-repo='sprockets' data-file='lib/sprockets/base.rb' data-start='53'>
def attributes_for(path)
AssetAttributes.new(self, path)
end

0 comments on commit 89f9bea

Please sign in to comment.