Sha256: eea81231d68c74a876e5fe6204922a4a4479f5081d490d5f6b45c7e093566b87
Contents?: true
Size: 759 Bytes
Versions: 3
Compression:
Stored size: 759 Bytes
Contents
## SUMMARY A plugin for replace rails pipline. [![Build Status](https://secure.travis-ci.org/benz303/zfben_rails_assets.png)](http://travis-ci.org/benz303/zfben_rails_assets) ## Getting Started 1. adding gem to Gemfile gem 'zfben_rails_assets' 2. update bundle bundle install 3. add .gitignore public/assets ## How to Use ### Configuration ```ruby # config/application.rb config.assets.enabled = false config.action_controller.asset_host = 'http://assets.abc.com' config.action_controller.asset_path = 'assets' config.action_controller.asset_version = '1' ``` ### Helper ```ruby assets('blank.css') #=> <link rel="stylesheet" href="/assets/blank.css" /> assets('blank.js') #=> <script src="/assets/blank.js"></script> ```
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
zfben_rails_assets-0.0.16 | README.md |
zfben_rails_assets-0.0.15 | README.md |
zfben_rails_assets-0.0.14 | README.md |