Skip to content

Commit

Permalink
Make sure lib/tasks exists before putting a file ther.
Browse files Browse the repository at this point in the history
  • Loading branch information
technicalpickles committed Nov 11, 2009
1 parent f1bf2e1 commit 5960251
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion generators/friendly_id/friendly_id_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ def manifest
m.migration_template(
'create_slugs.rb', 'db/migrate', :migration_file_name => 'create_slugs'
)
m.directory "lib/tasks"
m.file "/../../../lib/tasks/friendly_id.rake", "lib/tasks/friendly_id.rake"
end
end
end
end
end

0 comments on commit 5960251

Please sign in to comment.