aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSeb Bacon <seb.bacon@gmail.com>2012-07-13 11:31:56 +0100
committerSeb Bacon <seb.bacon@gmail.com>2012-07-13 11:31:56 +0100
commit123c14219b2dec518b9627e26bcbbe208bb73acb (patch)
treeb5859a5915ab6ed02ead101198415b06d97f84f6
parent6f4b771634c51b8fb4bb7f52bd16f44182d6d45d (diff)
Remember actually to include mailer patches; and use the latest way of adding custom routes
-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'