Sha256: 7ea012196c9e3d811d25a438d10d4d97531ca9c4ff54cd685c59db62ee704f1b
Contents?: true
Size: 681 Bytes
Versions: 28
Compression:
Stored size: 681 Bytes
Contents
class Marty::ApiAuthView < Marty::McflyGridPanel has_marty_permissions create: :admin, read: :any, update: :admin, delete: :admin def configure(c) super c.title = I18n.t('api_auth', default: "API Authorization") c.model = "Marty::ApiAuth" c.columns = [:app_name, :api_key, :script_name] c.enable_extended_search = false c.data_store.sorters = {property: :app_name, direction: 'ASC'} end column :app_name do |c| c.flex = 1 end column :api_key do |c| c.flex = 1 end column :script_name do |c| c.flex = 1 end end ApiAuthView = Marty::ApiAuthView
Version data entries
28 entries across 28 versions & 1 rubygems