Browse Source

Fix column title while we're at it

topic-sass
Jason Denney 11 years ago
parent
commit
4eae374aa9
  1. 2
      app/components/users.rb

2
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

Loading…
Cancel
Save