lib/tabulatr/tabulatr/settings.rb in tabulatr-0.2.0 vs lib/tabulatr/tabulatr/settings.rb in tabulatr-0.3.0
- old
+ new
@@ -73,10 +73,10 @@
# whih selecting controls to render in which order
:select_controls => [:select_all, :select_none, :select_visible, :unselect_visible,
:select_filtered, :unselect_filtered],
- :image_path_prefix => '/images/tabulatr/',
+ :image_path_prefix => (Rails::version.to_f >= 3.1 ? 'tabulatr/' : '/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',