aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/alavetelitheme.rb8
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/alavetelitheme.rb b/lib/alavetelitheme.rb
index e8cc960..8758563 100644
--- a/lib/alavetelitheme.rb
+++ b/lib/alavetelitheme.rb
@@ -22,9 +22,11 @@ end
end
# Monkey patch app code
-for patch in ['controller_patches.rb',
- 'model_patches.rb',
- 'config/custom-routes.rb',
+for patch in ['controller_patches.rb',
+ 'model_patches.rb',
+ 'patch_mailer_paths.rb',
'gettext_setup.rb']
require File.expand_path "../#{patch}", __FILE__
end
+
+$alaveteli_route_extensions << 'config/custom-routes.rb'