简体   繁体   中英

WiceGrid Calendar assets icons

Time filter icons are not appearing on the production server when the code is deployed. Broken images appear instead, I get

assets compilation error

.

This is a common bug in wice_grid where the icons aren't properly set up for the asset pipeline. Following solves the problem.

In /initializers/wice_grid_config.rb , add this line to Wice::Defaults::CALENDAR_ICON

# Icon to popup the calendar.
Wice::Defaults::CALENDAR_ICON = "https://raw.github.com/leikind/wice_grid/rails3/vendor/assets/images/icons/grid/calendar_view_month.png" 

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM