diff options
author | Andrew White <pixeltrix@users.noreply.github.com> | 2016-03-01 17:31:14 +0000 |
---|---|---|
committer | Andrew White <pixeltrix@users.noreply.github.com> | 2016-03-01 17:31:14 +0000 |
commit | f2c707a64ee8683ee7bc4f1bc0254afcaa0ff676 (patch) | |
tree | 4c4680606065ff4bb7bb8e9c5ee5b9bd51b4861b /actionpack/test/controller/flash_test.rb | |
parent | 3e43ba67209751468857a350ded6ea40aad2a2ba (diff) | |
parent | 6520ea5f7e2215a763ca74bf6cfa87be2347d5df (diff) | |
download | rails-f2c707a64ee8683ee7bc4f1bc0254afcaa0ff676.tar.gz rails-f2c707a64ee8683ee7bc4f1bc0254afcaa0ff676.tar.bz2 rails-f2c707a64ee8683ee7bc4f1bc0254afcaa0ff676.zip |
Merge pull request #23980 from rails/deprecate-controller-action-segments
Deprecate :controller and :action path parameters
Diffstat (limited to 'actionpack/test/controller/flash_test.rb')
-rw-r--r-- | actionpack/test/controller/flash_test.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/actionpack/test/controller/flash_test.rb b/actionpack/test/controller/flash_test.rb index b063d769a4..eef48e8480 100644 --- a/actionpack/test/controller/flash_test.rb +++ b/actionpack/test/controller/flash_test.rb @@ -323,7 +323,9 @@ class FlashIntegrationTest < ActionDispatch::IntegrationTest def with_test_route_set with_routing do |set| set.draw do - get ':action', :to => FlashIntegrationTest::TestController + ActiveSupport::Deprecation.silence do + get ':action', :to => FlashIntegrationTest::TestController + end end @app = self.class.build_app(set) do |middleware| |