projects
/
rails.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Restructured notes page
[rails.git]
/
app
/
helpers
/
asset_helper.rb
1
module AssetHelper
2
def assets(directory)
3
assets = {}
4
5
Rails.application.assets.index.each_logical_path("#{directory}/*") do |path|
6
assets[path.sub(/^#{directory}\//, "")] = asset_path(path)
7
end
8
9
assets
10
end
11
end