Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (16 sloc) 692 Bytes
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.