Project

General

Profile

Actions

Defect #12253

closed

config.plugins setting does not works

Added by Dan K over 11 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Plugin API
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

I tryed to set plugins load order via

config.plugins = [ :plugin_name_b, :plugin_name_a ]

in application.rb (how it pointed inside at comments), also i've tryed to do this in additional_enviroment.rb

Load order does not works :(

config.plugins = %w(plugin_name_b plugin_name_a) not works too

plugin_name_a always loads first than name_b

Despite of only one plugin pointed via directive, all of the plugins in redmine/plugins loads. Seems like config.plugins option does not works.

Environment:
Redmine version 2.0.3.stable.9901
Ruby version 1.9.3 (i686-linux)
Rails version 3.2.6

Actions #1

Updated by Jean-Philippe Lang over 11 years ago

  • Status changed from New to Closed
  • Resolution set to Invalid

config.plugins option is a Rails thing, it is not supposed to work for Redmine plugins.

Actions

Also available in: Atom PDF