Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: b3b7b30357
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (16 sloc) 0.692 kB
require 'redmine'
require 'dispatcher'
require 'application_patch'
require 'cleanup_tmp'
require_dependency 'attachment_hook'
Redmine::Plugin.register :redmine_attach_screenshot do
name 'Redmine Attach Screenshot plugin'
author 'Konstantin Zaitsev, Sergei Vasiliev, Alexandr Poplavsky, Jens Alfke, modified by Martin Denizet'
author_url 'https://github.com/martin-denizet'
description 'Attach screenshots from clipboard directly to a Redmine issue'
version '0.1.4'
end
Dispatcher.to_prepare do
ApplicationController.send(:include, AttachScreenshotPlugin::ApplicationControllerPatch)
AccountController.send(:include, AttachScreenshotPlugin::CleanupTmp)
end
Jump to Line
Something went wrong with that request. Please try again.