ruby on rails - font-awesome fa-trash not working in production -
i'm using font-awesome in rails app , fa-trash works on development machine when deploy fa-trash stops working , different icon. other icons work fine in production, it's fa-trash.
if use fa-trash-o works fine. here example of 3 icons, show, edit & delete, delete supposed trash can.
here code icons
<td class="th_icon icon_table"> <a id="show" href="/api#/costings/{{costing.id}}"><i class="fa fa-search-plus fa-lg"></i></a> <a id="edit" href="/api#/costings/{{costing.id}}/edit"><i class="fa fa-edit fa-lg"></i></a> <a id="delete" href="" ng-hide="costing.code == 1" ng-confirm-click="destroy(costing.id)"><i class="fa fa-trash fa-lg"></i></a>
i've cleared out assets , re-compiled them & restarted server , cleared out cache in browser, test
update
my install
i'm using rails-assets in gemfile 4.2 version of font awesome
gem 'rails-assets-font-awesome'
in sass file
*= require font-awesome
i can confirm doesn't work. i'm using font-awesome-rails 4.2 , can't of new icons show up. old ones still works though.
Comments
Post a Comment