Sha256: 6eded85737c8e32594ade24a07ea4e79e6ef1090022cd86a75e7e02c7658cae5
Contents?: true
Size: 913 Bytes
Versions: 34
Compression:
Stored size: 913 Bytes
Contents
module ActiveScaffold::Config class Show < Base self.crud_type = :read def initialize(core_config) super self.inline_links = self.class.inline_links end # global level configuration # -------------------------- cattr_accessor :link, instance_accessor: false @@link = ActiveScaffold::DataStructures::ActionLink.new('show', :label => :show, :type => :member, :security_method => :show_authorized?, :ignore_method => :show_ignore?) cattr_accessor :inline_links, instance_accessor: false @@inline_links = false # instance-level configuration # ---------------------------- attr_accessor :inline_links # the ActionLink for this action attr_accessor :link # the label for this action. used for the header. attr_writer :label columns_accessor :columns UserSettings.class_eval do user_attr :inline_links end end end
Version data entries
34 entries across 34 versions & 1 rubygems