Skip to content

Commit

Permalink
fixed issue where intel image attachment would get assigned the efax …
Browse files Browse the repository at this point in the history
…index.php file
  • Loading branch information
zeknox committed Jan 28, 2014
1 parent 621b4e0 commit c44d0eb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/tasks/templates.rake
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ namespace :templates do
a.file = File.open("#{Rails.root}/vendor/templates/intel/intel.jpg")
a.save!
t = Template.create(name: 'Efax', directory_index: 'index.php', description: 'User received a efax which requires them to open the PDF')
a = t.attachments.create(function: 'website')
a.file = File.open("#{Rails.root}/vendor/templates/efax/index.php")
a.save!
a = t.attachments.create(function: 'email')
Expand Down

0 comments on commit c44d0eb

Please sign in to comment.