aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames McKinney <james@slashpoundbang.com>2015-05-21 01:57:33 +0200
committerLouise Crow <louise.crow@gmail.com>2015-05-21 11:40:51 +0200
commitd622268ddd3a80fbf655c5731e786c6ba4ae1656 (patch)
treefe56df0f085ab58e13c4894da15eb86e0fd44a9c
parent88dae41ae8379754aae46405be8392dd94c5e90e (diff)
Add app/models/concerns to load_paths
-rw-r--r--config/application.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/application.rb b/config/application.rb
index 08f852089..eccf0937c 100644
--- a/config/application.rb
+++ b/config/application.rb
@@ -71,6 +71,7 @@ module Alaveteli
app.routes.append{ match '*path', :to => 'general#not_found' }
end
+ config.autoload_paths << "#{Rails.root.to_s}/app/models/concerns"
config.autoload_paths << "#{Rails.root.to_s}/lib/mail_handler"
config.autoload_paths << "#{Rails.root.to_s}/lib/attachment_to_html"
config.autoload_paths << "#{Rails.root.to_s}/lib/health_checks"