mirror of https://github.com/fspc/BikeShed-1.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
366 B
16 lines
366 B
11 years ago
|
class UserRoleJoins < Netzke::Basepack::Grid
|
||
12 years ago
|
def configure(c)
|
||
|
super
|
||
11 years ago
|
c.model = "UserRoleJoin"
|
||
12 years ago
|
c.title = "User Roles"
|
||
11 years ago
|
c.columns = [ :user__first_name, :role__role, :created_at, :updated_at, :ends ]
|
||
|
#c.columns = [ :user__first_name]
|
||
12 years ago
|
end
|
||
|
|
||
|
#override with nil to remove actions
|
||
|
def default_bbar
|
||
|
[ :apply, :add_in_form, :search ]
|
||
|
end
|
||
|
|
||
|
end
|