Skip to content

Commit

Permalink
Attachments fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
terry90 committed May 15, 2016
1 parent 3118fb0 commit a6ee6bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/user_notif/notif_mailer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def notif_email(notif_id)
private

def send_email(opts)
attachments = opts.delete(:attachments)
opts.delete(:attachments).each { |k| attachments[k[0]] = k[1] }
mail(opts)
end
end
Expand Down
2 changes: 1 addition & 1 deletion lib/user_notif/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module UserNotif
VERSION = '0.1.12'
VERSION = '0.1.13'
end

0 comments on commit a6ee6bc

Please sign in to comment.