1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/test
Andrew White a150a02659
Use request object for context if there's no controller
There is no controller instance when using a redirect route or a
mounted rack application so pass the request object as the context
when resolving dynamic CSP sources in this scenario.

Fixes #34200.
2018-10-22 17:16:52 +01:00
..
abstract Replace assert ! with assert_not 2018-04-19 08:11:33 -04:00
assertions Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00
controller Fix ActionController::Parameters#each_value and add changelog entry to this method (#34210) 2018-10-15 21:28:15 +09:00
dispatch Use request object for context if there's no controller 2018-10-22 17:16:52 +01:00
fixtures Change the empty block style to have space inside of the block 2018-09-25 13:19:35 -04:00
journey Enable Performance/UnfreezeString cop 2018-09-23 08:56:55 +09:00
lib/controller Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00
routing Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00
abstract_unit.rb Revert "Merge pull request #33970 from rails/eager-url-helpers" 2018-10-03 16:15:47 -05:00