preciousplum / custom_users_as_assignees

Redmine plugin for adding assignee functionality includes default query and reminder to custom users
Apache License 2.0
26 stars 17 forks source link

Fixed init.rb for Redmine 5.X #10

Open h3nr1-g opened 1 year ago

h3nr1-g commented 1 year ago

Hello, I found the two issues why the plugin was not compatible with Redmine 5.X:

  1. require 'redmine' does not work anymore in recent Redmine/Rails versions (See https://www.redmine.org/boards/2/topics/67113 )
  2. Rails.configuration.to_prepare do is also deprecated in Redmine 5.X (See https://www.redmine.org/issues/36245 )

Please review and verify this PR.

Thanks a lot for this awesome plugin :)