No commit activity in last 3 years
No release in over 3 years
This rubygem does not have a description or summary.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
 Dependencies

Runtime

>= 0
>= 3.1.0
>= 0
 Project Readme

SUMMARY

A plugin for replace rails pipline.

Build Status

Getting Started

  1. adding gem to Gemfile

gem 'zfben_rails_assets'

  1. update bundle

bundle install

  1. add .gitignore

public/assets

How to Use

Configuration

  # 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

  assets('blank.css') #=> <link rel="stylesheet" href="/assets/blank.css" />
  assets('blank.js') #=> <script src="/assets/blank.js"></script>