added version switch for aliasing of list in roles controller

pull/6827/head
Stephan Eckardt 14 years ago
parent 8a79faff44
commit 47940fd363
  1. 2
      lib/global_roles/roles_controller_patch.rb

@ -6,7 +6,7 @@ module GlobalRoles
base.class_eval do base.class_eval do
alias_method_chain :new, :global_roles alias_method_chain :new, :global_roles
alias_method_chain :index, :global_roles alias_method_chain :index, :global_roles
alias_method_chain :list, :global_roles alias_method_chain :list, :global_roles if Redmine::VERSION::MAJOR < 1
end end
end end

Loading…
Cancel
Save