Skip to content

Instantly share code, notes, and snippets.

@meineerde
Created April 7, 2010 09:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save meineerde/358683 to your computer and use it in GitHub Desktop.
Save meineerde/358683 to your computer and use it in GitHub Desktop.
# First run script/generate redmine_plugin add_link
# Put in vendor/plugins/redmine_add_link/init.rb
require 'redmine'
Redmine::Plugin.register :redmine_rt_link do
name 'Redmine Add Link'
author 'Holger Just'
url 'http://dev.holgerjust.de/projects/redmine-misc'
author_url 'http://meine-er.de'
version '0.1.0'
requires_redmine :version_or_higher => '0.8.0'
# caption can also be a i18n symbol
menu :top_menu, :my_link, {:controller => 'my_controller', :action => 'my_action'},
:caption => "My title"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment