From 4eae374aa910d81d0e883fa051ed5ca04e838a27 Mon Sep 17 00:00:00 2001 From: Jason Denney Date: Sat, 19 Oct 2013 18:08:55 -0400 Subject: [PATCH] Fix column title while we're at it --- app/components/users.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/users.rb b/app/components/users.rb index 30d73a5..51c7d38 100644 --- a/app/components/users.rb +++ b/app/components/users.rb @@ -18,7 +18,7 @@ class Users < Netzke::Basepack::Grid :first_name, :last_name, :email, - { :id => :bike__shop_id, :name => :bike__shop_id, :default_value => Bike.exists? ? Bike.first.id : nil } + { :text => "Bike - Shop ID", :id => :bike__shop_id, :name => :bike__shop_id, :default_value => Bike.exists? ? Bike.first.id : nil } ] c.columns << :reset if can? :manage, User