Permalink
Browse files

Seeds: update the location of the test attachment to the asset pipeline

  • Loading branch information...
1 parent 6fd92bc commit 1eb647cd38cf020901e5475c79b1eb4925963e1b @etdsoft etdsoft committed Jan 30, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 db/seeds.rb
View
2 db/seeds.rb
@@ -83,7 +83,7 @@
root.notes.create!( :author => 'First time wizard', :category_id => 1, :text => NOTE1)
destination = Attachment.pwd.join(root.id.to_s)
FileUtils.mkdir_p(destination)
- FileUtils.cp( Rails.root.join('public', 'images', 'logo_small.png'), destination.join('logo.png') )
+ FileUtils.cp( Rails.root.join('app', 'assets', 'images', 'logo_small.png'), destination.join('logo.png') )
whats_new = root.children.create!( :label => 'What\'s new?')
whats_new.notes.create!( :author => 'First time wizard', :category_id => 1, :text => NOTE2)

0 comments on commit 1eb647c

Please sign in to comment.