diff --git a/app/components/user_role_joins.rb b/app/components/user_role_joins.rb index 40442a1..ba61e66 100644 --- a/app/components/user_role_joins.rb +++ b/app/components/user_role_joins.rb @@ -2,9 +2,15 @@ class UserRoleJoins < Netzke::Basepack::Grid def configure(c) super c.model = "UserRoleJoin" + c.header = false c.title = "User Roles" - c.columns = [ :user__first_name, :role__role, :created_at, :updated_at, :ends ] - #c.columns = [ :user__first_name] + c.columns = [ + { :name => :user__first_name, :text => "First"}, + { :name => :user__last_name, :text => "Last"}, + { :name => :role__role, :text => "Role"}, + :created_at, + :updated_at, + :ends ] end #override with nil to remove actions