Skip to content

Commit 4c6fae2

Browse files
committed
* Fixed - incorrect method name
1 parent 458f866 commit 4c6fae2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/controllers/timesheet_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def report
9494
:date_from => @timesheet.date_from.to_date,
9595
:date_to => @timesheet.date_to.to_date
9696
}),
97-
:filename => "timesheet-#{@timesheet.projects.collect{|p| p.id.to_s.lpad(3, '0')}.join('')}"
97+
:filename => "timesheet-#{@timesheet.projects.collect{|p| p.id.to_s.ljust(3, '0')}.join('')}"
9898
)
9999
}
100100
end

0 commit comments

Comments
 (0)