Add specs for editor in nested resources

Этот коммит содержится в:
Mattia Roccoberton
2020-09-03 11:32:46 +02:00
родитель 668bd642e5
Коммит 135a56dc03
6 изменённых файлов: 53 добавлений и 4 удалений

Просмотреть файл

@@ -25,6 +25,14 @@ ActiveAdmin.register Post do
row :tags
row :created_at
row :updated_at
row :images do |resurce|
resurce.images.each do |image|
div do
link_to image.filename, image, target: '_blank'
end
end
nil
end
end
active_admin_comments
end