summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Étienne Deparis 2017-02-11 01:34:25 +0100
committerGravatar Étienne Deparis 2017-02-11 01:34:25 +0100
commited1415e0ec6a7b2ca534321f277d696c86deb3a4 (patch)
treeae8b74978a16a57c537662314d22f024c94a1c10
parent6cd78826aedcefebe4161c32827b8b9eb6b9cad9 (diff)
downloadcgit_menus-ed1415e0ec6a7b2ca534321f277d696c86deb3a4.tar.gz
cgit_menus-ed1415e0ec6a7b2ca534321f277d696c86deb3a4.tar.xz
cgit_menus-ed1415e0ec6a7b2ca534321f277d696c86deb3a4.zip
Remove old comments
-rw-r--r--init.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/init.rb b/init.rb
index 9fa8f8f..0e300d6 100644
--- a/init.rb
+++ b/init.rb
@@ -1,11 +1,10 @@
+# coding: utf-8
require_dependency 'cgit_menus_hook_listener'
Redmine::Plugin.register :cgit_menus do
name 'cgit menus'
author 'Étienne Deparis'
description 'Add link to your cgit instance at various places'
- version '0.0.1'
- #menu :top_menu, 'Git repos', Setting.plugin_cgit_menus['cgit_url'], :after => :home
- #menu :project_menu, 'Git', "#{@settings['cgit_url']}/#{@project.identifier}", :if => Proc.new { @project.present? }, :last => true
+ version '0.0.2'
settings :default => { 'cgit_url' => '' }, :partial => 'settings/cgit_menus_settings'
end