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.
15 lines
296 B
15 lines
296 B
class UserRoles < Netzke::Basepack::Grid
|
|
|
|
def configure(c)
|
|
super
|
|
c.model = "UserRole"
|
|
c.title = "User Roles"
|
|
c.columns = [ :role, :created_at, :updated_at, :ends ]
|
|
end
|
|
|
|
#override with nil to remove actions
|
|
def default_bbar
|
|
[ :apply, :add_in_form, :search ]
|
|
end
|
|
|
|
end
|
|
|