1
0
mirror of https://github.com/fspc/BikeShed-1.git synced 2025-02-28 08:43:23 -05:00

Fix column title while we're at it

This commit is contained in:
Jason Denney 2013-10-19 18:08:55 -04:00
parent dc60630d2d
commit 4eae374aa9

View File

@ -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