To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
root / vendor / plugins / redmine_bibliography / init.rb @ 449:d643b4186e4c
History | View | Annotate | Download (538 Bytes)
| 1 |
require 'redmine'
|
|---|---|
| 2 |
|
| 3 |
Redmine::Plugin.register :redmine_bibliography do |
| 4 |
name 'Redmine Bibliography plugin'
|
| 5 |
author 'Chris Cannam, Luis Figueira'
|
| 6 |
description 'This is a plugin for Redmine'
|
| 7 |
version '0.0.1'
|
| 8 |
url 'http://example.com/path/to/plugin'
|
| 9 |
author_url 'http://example.com/about'
|
| 10 |
|
| 11 |
permission :view_bibliography, :redmine_bibliography => :index |
| 12 |
|
| 13 |
menu :project_menu, :redmine_bibliography, {:controller => 'publications', :action => 'index'}, :caption => 'Bibliography', :after => :activity, :param => :project_id |
| 14 |
|
| 15 |
end
|
| 16 |
|