Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanoverna committed May 18, 2018
1 parent 164cb79 commit e031f42
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/dato/local/field_type/gallery.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module FieldType
class Gallery < Array
def self.parse(value, repo)
images = if value
value.map { |image| FieldType::Image.parse(image, repo) }
value.map { |image| FieldType::File.parse(image, repo) }
else
[]
end
Expand Down
2 changes: 1 addition & 1 deletion lib/dato/version.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: true
module Dato
VERSION = '0.5.0'
VERSION = '0.5.1'
end

0 comments on commit e031f42

Please sign in to comment.