We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 847fd10 commit c1f6adcCopy full SHA for c1f6adc
lib/redmine_gtt.rb
@@ -11,9 +11,7 @@
11
12
# Configure View Overrides
13
Rails.application.paths["app/overrides"] ||= []
14
-Dir.glob("#{Rails.root}/plugins/*/app/overrides").each do |dir|
15
- Rails.application.paths["app/overrides"] << dir unless Rails.application.paths["app/overrides"].include?(dir)
16
-end
+Rails.application.paths["app/overrides"] << File.expand_path("../../app/overrides", __FILE__)
17
18
# Register MIME Types
19
Mime::Type.register_alias "application/json", :geojson
0 commit comments