Sha256: e41d7233a4d7604f775f31aa248aaa17afe6436973dc9b5ae0f6f29947b92b10
Contents?: true
Size: 448 Bytes
Versions: 39
Compression:
Stored size: 448 Bytes
Contents
require "redmine_extensions/engine" require 'redmine_extensions/core_ext' module RedmineExtensions def self.load_easy_plugins Redmine::Plugin.all.each do |plugin| #TODO: maybe some condition for easy_plugins only... queries_dir = File.join(plugin.directory, 'app', 'models', 'easy_queries') if File.directory?( queries_dir ) ActiveSupport::Dependencies.autoload_paths += [queries_dir] end end end end
Version data entries
39 entries across 39 versions & 1 rubygems