Public Instance methods
assets()
Render
the matching asset if this is a GET request for a supported asset.
[show source]
# File lib/roda/plugins/assets.rb 885 def assets 886 if is_get? 887 self.class.assets_matchers.each do |type, matcher| 888 is matcher do |file| 889 scope.render_asset(file, type) 890 end 891 end 892 nil 893 end 894 end