Sha256: e93ac37e66ca0caa07e7c54d84d4e61053a3b713e040d2a0f0acc8824a9f33fd
Contents?: true
Size: 629 Bytes
Versions: 22
Compression:
Stored size: 629 Bytes
Contents
# frozen_string_literal: true module Plutonium module UI module Page class Index < Base private def page_title super || current_definition.index_page_title || resource_name_plural(resource_class) end def page_description super || current_definition.index_page_description end def page_actions super || current_definition.defined_actions.values.select { |a| a.resource_action? && a.permitted_by?(current_policy) } end def render_default_content render "resource_table" end end end end end
Version data entries
22 entries across 22 versions & 1 rubygems