From b989e939142a24cec16a793b918df8560751c0a3 Mon Sep 17 00:00:00 2001 From: hegedak <23532813+hegedak@users.noreply.github.com> Date: Wed, 21 Feb 2018 11:48:24 +0100 Subject: [PATCH] Allow titling of orderable_handle_column --- lib/activeadmin-orderable.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/activeadmin-orderable.rb b/lib/activeadmin-orderable.rb index 05b1733c..09d7ab35 100644 --- a/lib/activeadmin-orderable.rb +++ b/lib/activeadmin-orderable.rb @@ -22,7 +22,7 @@ module TableMethods HANDLE = '↕'.html_safe def orderable_handle_column options = {} - column '', :class => "activeadmin-orderable" do |resource| + column options[:title], :class => "activeadmin-orderable" do |resource| sort_url = if options[:url].is_a? Symbol send options[:url], resource elsif options[:url].respond_to? :call