Sha256: c55d56b1f0d9126185e3dd16ed64459e1af0036eb52f7383fca8208696a6e447
Contents?: true
Size: 536 Bytes
Versions: 1
Compression:
Stored size: 536 Bytes
Contents
module FcrepoAdmin::Helpers module DatastreamsHelperBehavior include FcrepoAdmin::Helpers::FcrepoAdminHelperBehavior def datastream_context_nav_header t("fcrepo_admin.datastream.nav.header") end def datastream_context_nav_items render :partial => 'fcrepo_admin/datastreams/context_nav_items', :locals => {:object => @object, :datastream => @datastream} end def can_edit_datastream? can? :edit, @object end def can_upload_datastream? can? :upload, @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/datastreams_helper_behavior.rb |