init.rb 396 B

123456789101112131415
  1. require 'redmine'
  2. Rails.configuration.to_prepare do
  3. require 'redmine_abs_time/patches/app/helpers/application_helper'
  4. ApplicationHelper.send :include, AbsTime::ApplicationHelperPatch
  5. end
  6. Redmine::Plugin.register :redmine_abs_time do
  7. name 'Plugin to print absolute time'
  8. author 'Dmitry Yu Okunev'
  9. author_url 'http://gogs.ut.mephi.ru/dyokunev'
  10. url 'redmine_abs_time'
  11. version '0.0.1'
  12. end