mirror of
https://github.com/anteo/redmine_custom_workflows.git
synced 2026-01-26 00:04:20 +00:00
Zeitwerk's autoload
This commit is contained in:
parent
2ca426cffa
commit
841c30d25c
@ -20,7 +20,10 @@
|
|||||||
# along with this program; if not, write to the Free Software
|
# along with this program; if not, write to the Free Software
|
||||||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||||
|
|
||||||
|
# All files in lib sub-folder are already loaded by Zeitwerk
|
||||||
|
if RedmineApp::Application.config.autoloader != :zeitwerk
|
||||||
require_dependency File.dirname(__FILE__) + '/lib/redmine_custom_workflows.rb'
|
require_dependency File.dirname(__FILE__) + '/lib/redmine_custom_workflows.rb'
|
||||||
|
end
|
||||||
|
|
||||||
def custom_workflows_init
|
def custom_workflows_init
|
||||||
# Administration menu extension
|
# Administration menu extension
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user