metaminded / tabulatr2

A very JS enhanced Tabulatr edition. Rails4, Ruby 2 required
Other
21 stars 10 forks source link

Undefined method fa_icon #31

Closed zealot128 closed 9 years ago

zealot128 commented 9 years ago

The gem requires to install Font-awesome-rails, but didn't require it explicitly. Having 'gem "font-awesome-rails" in the Gemfile or just add "require 'font-awesome-rails' in the application.rb fixes that issue

ActionView::Template::Error (undefined method `fa_icon' for #<#<Class:0x0000000a497bb8>:0x0000000ac06688>):
    27:         = t('tabulatr.filter')
    28:         .btn-group.pull-right
    29:           a.tabulatr-reset-table.btn.btn-danger.btn-xs data-tabulatr-reset=table_id
    30:             = fa_icon :remove
    31:           a.tabulatr-submit-table.btn.btn-primary.btn-xs
    32:             = fa_icon 'arrow-right'
    33:       .panel-body
Crunch09 commented 9 years ago

Thank you!