aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
diff options
context:
space:
mode:
authorAndrew White <andyw@pixeltrix.co.uk>2013-12-16 05:52:58 +0000
committerAndrew White <andyw@pixeltrix.co.uk>2013-12-17 03:58:35 +0000
commitd6dec7fcb6b8fddf8c170182d4fe64ecfc7b2261 (patch)
treec5f0fd5fccf3556fbdf4d2411fffc80896b529b9 /actionpack/lib
parent1602a70fb450aba9b5e5befe4c7bfc3344471a06 (diff)
downloadrails-d6dec7fcb6b8fddf8c170182d4fe64ecfc7b2261.tar.gz
rails-d6dec7fcb6b8fddf8c170182d4fe64ecfc7b2261.tar.bz2
rails-d6dec7fcb6b8fddf8c170182d4fe64ecfc7b2261.zip
Add mailer previews feature based on mail_view gem
Diffstat (limited to 'actionpack/lib')
-rw-r--r--actionpack/lib/action_dispatch/routing/inspector.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/routing/inspector.rb b/actionpack/lib/action_dispatch/routing/inspector.rb
index 120bc54333..03ac42285d 100644
--- a/actionpack/lib/action_dispatch/routing/inspector.rb
+++ b/actionpack/lib/action_dispatch/routing/inspector.rb
@@ -69,7 +69,7 @@ module ActionDispatch
end
def internal?
- controller.to_s =~ %r{\Arails/(info|welcome)} || path =~ %r{\A#{Rails.application.config.assets.prefix}}
+ controller.to_s =~ %r{\Arails/(info|mailers|welcome)} || path =~ %r{\A#{Rails.application.config.assets.prefix}}
end
def engine?