diff options
| author | Zack Hobson | 2014-02-04 10:16:10 -0800 | 
|---|---|---|
| committer | Zack Hobson | 2014-02-04 10:16:10 -0800 | 
| commit | 4e9e55be73fca5a685ad1805028cc914009315ed (patch) | |
| tree | aaf6958dd77de22a467c3936681374bc09c106e1 | |
| parent | f02913985f2ab89356b68f697c371e136a110132 (diff) | |
| download | hcl-4e9e55be73fca5a685ad1805028cc914009315ed.tar.bz2 | |
Commands#tasks: pass http handle when fetching tasks, closes #56
| -rw-r--r-- | lib/hcl/commands.rb | 2 | 
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 | 
