aboutsummaryrefslogtreecommitdiffstats
path: root/lib/model_patches.rb
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2013-08-20 09:37:13 +0100
committerLouise Crow <louise.crow@gmail.com>2013-08-20 09:37:13 +0100
commitfccffdf4f70d5f9fa12ad6e75187be1728026823 (patch)
tree7d60b327cff1a2aa2f0d1ff5e5b3ed65791966b7 /lib/model_patches.rb
parent550b1e66a97f34ae05f0ff425bd1dd768ed90ec2 (diff)
parentf1f0e1762d368b074bc99ad0a344b33ddc4d33a8 (diff)
Merge branch 'master' into develop
Diffstat (limited to 'lib/model_patches.rb')
-rw-r--r--lib/model_patches.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/model_patches.rb b/lib/model_patches.rb
index 694f54d..8abd4e8 100644
--- a/lib/model_patches.rb
+++ b/lib/model_patches.rb
@@ -4,8 +4,7 @@
# classes are reloaded, but initialization is not run each time.
# See http://stackoverflow.com/questions/7072758/plugin-not-reloading-in-development-mode
#
-require 'dispatcher'
-Dispatcher.to_prepare do
+Rails.configuration.to_prepare do
OutgoingMessage.class_eval do
# Add intro paragraph to new request template
def default_letter