aboutsummaryrefslogtreecommitdiffstats
path: root/init.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 /init.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 'init.rb')
-rw-r--r--init.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/init.rb b/init.rb
index 0014c62..ad2cf40 100644
--- a/init.rb
+++ b/init.rb
@@ -1 +1,3 @@
-require "alavetelitheme.rb"
+if ENV["RAILS_ENV"] != "test" # Don't let the theme interfere with Alaveteli specs
+ require "alavetelitheme.rb"
+end