summaryrefslogtreecommitdiffstats
path: root/config/initializers
diff options
context:
space:
mode:
Diffstat (limited to 'config/initializers')
-rw-r--r--config/initializers/00-core_plugins.rb2
-rw-r--r--config/initializers/10-patches.rb2
-rw-r--r--config/initializers/20-mime_types.rb2
-rw-r--r--config/initializers/30-redmine.rb2
-rw-r--r--config/initializers/backtrace_silencers.rb2
-rw-r--r--config/initializers/inflections.rb2
6 files changed, 12 insertions, 0 deletions
diff --git a/config/initializers/00-core_plugins.rb b/config/initializers/00-core_plugins.rb
index 95c7f3f5d..a4387344d 100644
--- a/config/initializers/00-core_plugins.rb
+++ b/config/initializers/00-core_plugins.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: false
+
# Loads the core plugins located in lib/plugins
Dir.glob(File.join(Rails.root, "lib/plugins/*")).sort.each do |directory|
if File.directory?(directory)
diff --git a/config/initializers/10-patches.rb b/config/initializers/10-patches.rb
index 8d73eba2c..a01d38de6 100644
--- a/config/initializers/10-patches.rb
+++ b/config/initializers/10-patches.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: false
+
require 'active_record'
module ActiveRecord
diff --git a/config/initializers/20-mime_types.rb b/config/initializers/20-mime_types.rb
index 092e3992d..f5a1c3783 100644
--- a/config/initializers/20-mime_types.rb
+++ b/config/initializers/20-mime_types.rb
@@ -1 +1,3 @@
+# frozen_string_literal: false
+
# Add new mime types for use in respond_to blocks:
diff --git a/config/initializers/30-redmine.rb b/config/initializers/30-redmine.rb
index bebed4aca..1b8ee83f1 100644
--- a/config/initializers/30-redmine.rb
+++ b/config/initializers/30-redmine.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: false
+
I18n.backend = Redmine::I18n::Backend.new
# Forces I18n to load available locales from the backend
I18n.config.available_locales = nil
diff --git a/config/initializers/backtrace_silencers.rb b/config/initializers/backtrace_silencers.rb
index 890eede19..cbb20dd7a 100644
--- a/config/initializers/backtrace_silencers.rb
+++ b/config/initializers/backtrace_silencers.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: false
+
# Be sure to restart your server when you modify this file.
# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
diff --git a/config/initializers/inflections.rb b/config/initializers/inflections.rb
index 9e8b0131f..4347c3a3d 100644
--- a/config/initializers/inflections.rb
+++ b/config/initializers/inflections.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: false
+
# Be sure to restart your server when you modify this file.
# Add new inflection rules using the following format