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