Skip to content

Commit

Permalink
Fix issue with simple_form. Close andreapavoni#15
Browse files Browse the repository at this point in the history
  • Loading branch information
g3d committed Nov 12, 2015
1 parent 22690b0 commit 21dd99e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions lib/simple_form_fancy_uploads.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ module SimpleFormFancyUploads
end

SimpleForm::Inputs.send(:include, SimpleFormFancyUploads)
SimpleForm::FormBuilder.map_type :image_preview, to: SimpleForm::Inputs::ImagePreviewInput
SimpleForm::FormBuilder.map_type :attachment_preview, to: SimpleForm::Inputs::AttachmentPreviewInput
2 changes: 1 addition & 1 deletion lib/simple_form_fancy_uploads/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module SimpleFormFancyUploads
VERSION = "0.2.0"
VERSION = "0.2.1"
end

0 comments on commit 21dd99e

Please sign in to comment.