README.md in h2ocube_rails_assets-0.7.1 vs README.md in h2ocube_rails_assets-0.7.2
- old
+ new
@@ -31,10 +31,18 @@
* uglifier https://github.com/lautis/uglifier
* jquery-rails https://github.com/rails/jquery-rails
## Include helper
-`assets_source(type)` type is `:css` or `:js`
+### assets_source(type)
+
+type is `:css` or `:js`
+
+Example:
+
+```ruby
+assets_source :css # when subdomain is 'www', controller is 'pages', action is 'home', it will try to find 'assets/stylesheets/domains/www/pages.sass' and 'assets/stylesheets/domains/www/pages/home.sass', if file exists, will use `stylesheet_link_tag` to include them.
+```
## Other Useful Gems
Font::Awesome::Sass https://github.com/FortAwesome/font-awesome-sass