mirror of
https://github.com/anteo/redmine_custom_workflows.git
synced 2026-01-25 15:54:19 +00:00
Redmine 3.x support
This commit is contained in:
parent
9ab09c2777
commit
70ac21518d
8
Gemfile
8
Gemfile
@ -1,4 +1,8 @@
|
||||
source 'https://rubygems.org'
|
||||
|
||||
gem 'acts_as_list'
|
||||
gem 'activemodel-serializers-xml'
|
||||
require 'rails'
|
||||
|
||||
if Gem::Version.new(Rails.gem_version) >= Gem::Version.new('5.0.0')
|
||||
gem 'acts_as_list'
|
||||
gem 'activemodel-serializers-xml'
|
||||
end
|
||||
2
init.rb
2
init.rb
@ -7,7 +7,7 @@ Redmine::Plugin.register :redmine_custom_workflows do
|
||||
version '0.1.6'
|
||||
url 'http://www.redmine.org/plugins/custom-workflows'
|
||||
|
||||
requires_redmine version_or_higher: '4.0.0'
|
||||
requires_redmine version_or_higher: '3.0.0'
|
||||
|
||||
menu :admin_menu, :custom_workflows, {:controller => 'custom_workflows', :action => 'index'},
|
||||
:if => Proc.new { User.current.admin? }, :caption => :label_custom_workflow_plural,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user