Skip to content
This repository has been archived by the owner on Jun 13, 2022. It is now read-only.

Commit

Permalink
Remove the use of Sprockets::Index for now
Browse files Browse the repository at this point in the history
  • Loading branch information
wagenet committed Sep 15, 2011
1 parent fd31664 commit a9ab7e3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
6 changes: 6 additions & 0 deletions lib/bpm/pipeline.rb
Expand Up @@ -154,6 +154,12 @@ def find_asset(*)
asset
end

# Index is for caching, but it causes us problem,
# we don't need the caching
def index
self
end

protected

def build_magic_paths
Expand Down
7 changes: 6 additions & 1 deletion lib/bpm/pipeline/package_pipeline.rb
Expand Up @@ -73,7 +73,12 @@ def resolve(*args)
rescue Sprockets::FileNotFound => e
raise Sprockets::FileNotFound, "#{e.message} in package '#{package_name}'"
end


# Index is for caching, but it causes us problem,
# we don't need the caching
def index
self
end

end
end

0 comments on commit a9ab7e3

Please sign in to comment.