From 4899ae188f728bfd77b6db950fd5a1e3180c7be8 Mon Sep 17 00:00:00 2001 From: Seb Bacon Date: Mon, 30 Jan 2012 13:19:22 +0000 Subject: 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) --- lib/alavetelitheme.rb | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'lib/alavetelitheme.rb') 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' -- cgit v1.2.3