lib/roda/plugins/assets.rb in roda-2.2.0 vs lib/roda/plugins/assets.rb in roda-2.3.0

- old
+ new

@@ -212,11 +212,11 @@ # :js_dir :: Directory name containing your javascript source, inside :path (default: 'js') # :js_headers :: A hash of additional headers for your rendered javascript files # :js_opts :: Template options to pass to the render plugin (via :template_opts) when rendering javascript assets # :js_route :: Route under :prefix for javascript assets (default: :js_dir) # :path :: Path to your asset source directory (default: 'assets'). Relative - # paths will be considered relative to the application's :root option. + # paths will be considered relative to the application's :root option. # :prefix :: Prefix for assets path in your URL/routes (default: 'assets') # :precompiled :: Path to the compiled asset metadata file. If the file exists, will use compiled # mode using the metadata in the file. If the file does not exist, will use # non-compiled mode, but will write the metadata to the file if compile_assets is called. # :public :: Path to your public folder, in which compiled files are placed (default: 'public'). Relative @@ -609,9 +609,10 @@ self.class.assets_matchers.each do |type, matcher| is matcher do |file| scope.render_asset(file, type) end end + nil end end end end