We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 458f866 commit 4c6fae2Copy full SHA for 4c6fae2
app/controllers/timesheet_controller.rb
@@ -94,7 +94,7 @@ def report
94
:date_from => @timesheet.date_from.to_date,
95
:date_to => @timesheet.date_to.to_date
96
}),
97
- :filename => "timesheet-#{@timesheet.projects.collect{|p| p.id.to_s.lpad(3, '0')}.join('')}"
+ :filename => "timesheet-#{@timesheet.projects.collect{|p| p.id.to_s.ljust(3, '0')}.join('')}"
98
)
99
}
100
end
0 commit comments