Skip to content

Commit

Permalink
* Updated - iif filename
Browse files Browse the repository at this point in the history
  • Loading branch information
cbarber committed Jun 16, 2015
1 parent 954732d commit 458f866
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/timesheet_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def report
:date_from => @timesheet.date_from.to_date,
:date_to => @timesheet.date_to.to_date
}),
:filename => 'timesheet.iif'
:filename => "timesheet-#{@timesheet.projects.collect{|p| p.id.to_s.lpad(3, '0')}.join('')}"
)
}
end
Expand Down

0 comments on commit 458f866

Please sign in to comment.