class CustomStartpage::RedminePlugin
Registers this gems a Redmine plugin and applies the needed patches
Constants
- DEFAULT_SETTINGS
- SETTING_PARTIAL
Public Class Methods
new()
click to toggle source
# File lib/custom_startpage/redmine_plugin.rb, line 17 def initialize register! boot! end
Private Instance Methods
boot!()
click to toggle source
# File lib/custom_startpage/redmine_plugin.rb, line 38 def boot! Patches.apply! end
register!()
click to toggle source
# File lib/custom_startpage/redmine_plugin.rb, line 24 def register! Redmine::Plugin.register :custom_startpage do name NAME author AUTHORS.keys.join(", ") description DESCRIPTION version VERSION url URL author_url URL directory Engine.root settings default: DEFAULT_SETTINGS, partial: SETTING_PARTIAL end end