aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/alavetelitheme.rb8
-rw-r--r--lib/views/general/_popup_banner.rhtml1
2 files changed, 6 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'
diff --git a/lib/views/general/_popup_banner.rhtml b/lib/views/general/_popup_banner.rhtml
new file mode 100644
index 0000000..49c9ec2
--- /dev/null
+++ b/lib/views/general/_popup_banner.rhtml
@@ -0,0 +1 @@
+<%#- anything you put here will appear as a popup warning on every screen in Alaveteli -%>