provideal / tabulatr

A tight DSL to build tables of ActiveRecord or Mongoid models with sorting, pagination, finding/filtering, selecting and batch actions. Tries to do for tables what formtastic and simple_form did for forms.
Other
160 stars 15 forks source link

image names are wrong #1

Closed sdsykes closed 13 years ago

sdsykes commented 13 years ago

A new install, all the image paths do not work.

The code needs to be changed like this in settings.rb

:image_path_prefix => '/images/tabulatr/',
:pager_left_button => 'pager_arrow_left.gif',
:pager_left_button_inactive => 'pager_arrow_left_off.gif',
:pager_right_button => 'pager_arrow_right.gif',
:pager_right_button_inactive => 'pager_arrow_right_off.gif',
:sort_up_button => 'sort_arrow_up.gif',
:sort_up_button_inactive => 'sort_arrow_up_off.gif',
:sort_down_button => 'sort_arrow_down.gif',
:sort_down_button_inactive => 'sort_arrow_down_off.gif',
provideal commented 13 years ago

Thanks a lot for reporting! It's fixed in 0.0.4.