redmica / redmica_ui_extension

This plugin adds useful UI improvements to RedMica.
GNU General Public License v2.0
42 stars 12 forks source link

Fix according to the warning when loading files #22

Closed ishikawa999 closed 3 years ago

ishikawa999 commented 3 years ago

If you run rails s with the plugin installed, you will get the following warning. I followed the warning and fixed the code.

DEPRECATION WARNING: Initialization autoloaded the constants SearchableSelectbox::HookListener, MyHelper, SearchableSelectbox::MyHelperPatch, BurndownChart::HookListener, VersionsHelper, BurndownChart::VersionsHelperPatch, RedmicaUiExtension::SettingPatch
ishikawa999 commented 3 years ago

I think it's good. I confirmed that the warning is not displayed in Redmine-trunk (rails 6.1), Redmine 4.1, and 4.2 (rails 5.2).

Thank you for verifying this. I will merge.