aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer/test/i18n_with_controller_test.rb
diff options
context:
space:
mode:
authoryui-knk <spiketeika@gmail.com>2016-03-31 01:07:43 +0900
committeryui-knk <spiketeika@gmail.com>2016-03-31 01:07:43 +0900
commit5aa6c85c3b5e9bcb55679333c70c07f6faa1a88b (patch)
treea7f817ab7dd8b5a85a12a40266dc23039cfd9bc2 /actionmailer/test/i18n_with_controller_test.rb
parent7e976fd84d7c4604575653774d7fe44738f8ef43 (diff)
downloadrails-5aa6c85c3b5e9bcb55679333c70c07f6faa1a88b.tar.gz
rails-5aa6c85c3b5e9bcb55679333c70c07f6faa1a88b.tar.bz2
rails-5aa6c85c3b5e9bcb55679333c70c07f6faa1a88b.zip
Suppress warnings
"Using a dynamic :controller (or :action) segment in a route is deprecated" by 6520ea5f7e2215a763ca74bf6cfa87be2347d5df (#23980).
Diffstat (limited to 'actionmailer/test/i18n_with_controller_test.rb')
-rw-r--r--actionmailer/test/i18n_with_controller_test.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/actionmailer/test/i18n_with_controller_test.rb b/actionmailer/test/i18n_with_controller_test.rb
index 6124ffeb52..50c4b74eb8 100644
--- a/actionmailer/test/i18n_with_controller_test.rb
+++ b/actionmailer/test/i18n_with_controller_test.rb
@@ -25,7 +25,9 @@ end
class ActionMailerI18nWithControllerTest < ActionDispatch::IntegrationTest
Routes = ActionDispatch::Routing::RouteSet.new
Routes.draw do
- get ':controller(/:action(/:id))'
+ ActiveSupport::Deprecation.silence do
+ get ':controller(/:action(/:id))'
+ end
end
class RoutedRackApp