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

- old
+ new

@@ -6,11 +6,11 @@ authorize_resource class: Photo layout "spina/admin/media_library" def index - add_breadcrumb "Afbeeldingen", spina.admin_photos_path + add_breadcrumb I18n.t('spina.website.photos'), spina.admin_photos_path @photos = Photo.sorted @photo = Photo.new end def create @@ -63,10 +63,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 photo_params params.require(:photo).permit(:file) end