README.md in sprockets-2.0.0 vs README.md in sprockets-2.0.1
- old
+ new
@@ -108,9 +108,13 @@
environment = Sprockets::Environment.new
environment.append_path 'app/assets/javascripts'
environment.append_path 'app/assets/stylesheets'
run environment
end
+
+ map '/' do
+ run YourRackApp
+ end
### Accessing Assets Programmatically ###
You can use the `find_asset` method (aliased as `[]`) to retrieve an
asset from a Sprockets environment. Pass it a logical path and you'll