Permalink
Browse files

Update lib/scheduler_daemon/rails/generators/scheduler_task/scheduler…

…_task_generator.rb
  • Loading branch information...
1 parent 529a06a commit f45e5eaec509608a531f16efeee65625eb5ab80a @rhino232 rhino232 committed Apr 18, 2012
View
4 lib/scheduler_daemon/rails/generators/scheduler_task/scheduler_task_generator.rb
@@ -6,6 +6,10 @@ def create_task
readme(File.join(template_dir, 'README'))
end
+ def self.source_root
+ File.dirname(File.expand_path(__FILE__))
+ end
+
private
def source_dir
File.join(template_dir, 'scheduled_tasks')

0 comments on commit f45e5ea

Please sign in to comment.