aboutsummaryrefslogtreecommitdiffstats
path: root/lib/alavetelitheme.rb
diff options
context:
space:
mode:
authorSeb Bacon <seb.bacon@gmail.com>2012-01-30 13:19:22 +0000
committerSeb Bacon <seb.bacon@gmail.com>2012-01-30 13:19:22 +0000
commit4899ae188f728bfd77b6db950fd5a1e3180c7be8 (patch)
tree45523bfd14cd8479462cf790c987bf63d863edef /lib/alavetelitheme.rb
parent7a758a657e10c5b6a11355c9dad205178342096f (diff)
Create stubs for the various points where a user might want to customise Alaveteli via their theme, as per suggestions by @dcabo on [the mailing list](http://groups.google.com/group/alaveteli-dev/msg/f50eba23f75b5c75)
Diffstat (limited to 'lib/alavetelitheme.rb')
-rw-r--r--lib/alavetelitheme.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/alavetelitheme.rb b/lib/alavetelitheme.rb
index 58defaa..2ba63ce 100644
--- a/lib/alavetelitheme.rb
+++ b/lib/alavetelitheme.rb
@@ -15,6 +15,13 @@ end
ActiveSupport::Dependencies.autoload_once_paths.delete(path)
end
+# Monkey patch app code
+require 'controller_patches.rb'
+require 'model_patches.rb'
+require 'patch_mailer_paths.rb'
+
+# Extend routes
+require 'config/custom-routes.rb'
# Plug theme-specific locale strings
require 'gettext_setup.rb'