summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorZack Hobson2014-02-04 10:16:10 -0800
committerZack Hobson2014-02-04 10:16:10 -0800
commit4e9e55be73fca5a685ad1805028cc914009315ed (patch)
treeaaf6958dd77de22a467c3936681374bc09c106e1 /lib
parentf02913985f2ab89356b68f697c371e136a110132 (diff)
downloadhcl-4e9e55be73fca5a685ad1805028cc914009315ed.tar.bz2
Commands#tasks: pass http handle when fetching tasks, closes #56
Diffstat (limited to 'lib')
-rw-r--r--lib/hcl/commands.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hcl/commands.rb b/lib/hcl/commands.rb
index 3e68c2b..63de83b 100644
--- a/lib/hcl/commands.rb
+++ b/lib/hcl/commands.rb
@@ -28,7 +28,7 @@ module HCl
def tasks project_code=nil
tasks = Task.all
if tasks.empty? # cache tasks
- DayEntry.today
+ DayEntry.today(http)
tasks = Task.all
end
tasks.select! {|t| t.project.code == project_code } if project_code