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

Version Path
redmine_extensions-0.0.39 lib/redmine_extensions.rb
redmine_extensions-0.1.17 lib/redmine_extensions.rb
redmine_extensions-0.1.16 lib/redmine_extensions.rb
redmine_extensions-0.1.15 lib/redmine_extensions.rb
redmine_extensions-0.1.14 lib/redmine_extensions.rb
redmine_extensions-0.0.38 lib/redmine_extensions.rb
redmine_extensions-0.1.13 lib/redmine_extensions.rb
redmine_extensions-0.0.37 lib/redmine_extensions.rb
redmine_extensions-0.1.11 lib/redmine_extensions.rb
redmine_extensions-0.1.10 lib/redmine_extensions.rb
redmine_extensions-0.0.36 lib/redmine_extensions.rb
redmine_extensions-0.0.34 lib/redmine_extensions.rb
redmine_extensions-0.1.09 lib/redmine_extensions.rb
redmine_extensions-0.1.07 lib/redmine_extensions.rb
redmine_extensions-0.1.06 lib/redmine_extensions.rb
redmine_extensions-0.1.05 lib/redmine_extensions.rb
redmine_extensions-0.1.04 lib/redmine_extensions.rb
redmine_extensions-0.1.03 lib/redmine_extensions.rb
redmine_extensions-0.0.33 lib/redmine_extensions.rb
redmine_extensions-0.1.02 lib/redmine_extensions.rb