Sha256: 4cba07f9e1ecccfc52cd25c61ebdf3a5bd48dcdd62b9c04d6047a6897df742ad
Contents?: true
Size: 394 Bytes
Versions: 1
Compression:
Stored size: 394 Bytes
Contents
module FcrepoAdmin::Helpers module FcrepoAdminHelperBehavior def object_has_permissions? @object.is_a?(Hydra::ModelMixins::RightsMetadata) end def object_context_nav_header t("fcrepo_admin.object.nav.header") end def object_context_nav_items render :partial => 'fcrepo_admin/objects/context_nav_items', :locals => {:object => @object} end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fcrepo_admin-0.4.0 | lib/fcrepo_admin/helpers/fcrepo_admin_helper_behavior.rb |