RE: Attach-screenshot plugins are broken with RM 1.0 ยป dateformat.patch
app/controllers/attach_screenshot_controller.rb | ||
---|---|---|
33 | 33 |
private |
34 | 34 | |
35 | 35 |
def make_tmpname(date, name = "screenshot.png") |
36 |
sprintf('%d_%d%s', User.current.id, date, name)
|
|
36 |
sprintf('%d_%s%s', User.current.id, date, name)
|
|
37 | 37 |
end |
38 | 38 |
end |