Sha256: 056f177f6de84535d6c72f56c63840a92c1cd19b89a229cf61b68082bc8f37f0
Contents?: true
Size: 288 Bytes
Versions: 1
Compression:
Stored size: 288 Bytes
Contents
- if user_signed_in? && respond_to?(:can?) && can?(:access, :rails_admin) && can?(:edit, obj) - cache [current_user, obj] do .admin_link = link_to t('hancock.edit'), rails_admin.edit_path(obj.class.model_name.i18n_key.to_s.gsub('/', '~'), obj.id), 'data-no-turbolink' => true
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hancock_cms-1.0.1 | app/views/shared/_admin_link.html.slim |