Skip to content

Commit

Permalink
Merge pull request yogiben#160 from aldeed/defaultColumns-fix
Browse files Browse the repository at this point in the history
Define defaultColumns
  • Loading branch information
mpowaga committed Mar 15, 2015
2 parents a00bf0f + e386d05 commit f21937c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lib/both/startup.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ adminEditDelButtons = [
}
]

defaultColumns = [
data: '_id',
title: 'ID'
]

AdminTables.Users = new Tabular.Table
name: 'Users'
collection: Meteor.users
Expand Down Expand Up @@ -93,4 +98,4 @@ adminPublishTables = (collections) ->

Meteor.startup ->
adminCreateTables AdminConfig?.collections
adminPublishTables AdminConfig?.collections if Meteor.isServer
adminPublishTables AdminConfig?.collections if Meteor.isServer

0 comments on commit f21937c

Please sign in to comment.