Skip to content

Commit

Permalink
Tests passed - really fixed that file path this time...
Browse files Browse the repository at this point in the history
  • Loading branch information
augustf committed May 3, 2012
1 parent 309b963 commit 454a683
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/seeds.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@

#Taking care to make this file upload idempotent
if Media.where(:file_name => "BlueSwooshNeo_16x9.jpg").empty?
file = File.new("./seed_assets/BlueSwooshNeo_16x9.jpg")
file = File.new("db/seed_assets/BlueSwooshNeo_16x9.jpg")
@template.media.create(:file => file, :key => "original", :file_type => "image/jpg")
end

Expand Down

0 comments on commit 454a683

Please sign in to comment.