app/controllers/spina/admin/attachments_controller.rb in spina-0.6.12 vs app/controllers/spina/admin/attachments_controller.rb in spina-0.6.13

- old
+ new

@@ -6,11 +6,11 @@ authorize_resource class: Attachment layout "spina/admin/media_library" def index - add_breadcrumb "Documenten", spina.admin_attachments_path + add_breadcrumb I18n.t('spina.website.documents'), spina.admin_attachments_path @attachments = Attachment.file_attached.sorted @attachment = Attachment.new end def create @@ -42,10 +42,10 @@ end private def set_breadcrumbs - add_breadcrumb "Mediabibliotheek", spina.admin_media_library_path + add_breadcrumb I18n.t('spina.website.media_library'), spina.admin_media_library_path end def attachment_params params.require(:attachment).permit(:file, :page_id, :_destroy) end