@@ -2527,15 +2527,13 @@ render json: { foo: 'bar' }, status: 200
25272527render plain: 'foo/bar', status: 304
25282528redirect_to root_url, status: 301
25292529head 200
2530- get '/foobar', to: redirect('/foobar/baz', status: 301)
25312530
25322531# good
25332532render :foo, status: :ok
25342533render json: { foo: 'bar' }, status: :ok
25352534render plain: 'foo/bar', status: :not_modified
25362535redirect_to root_url, status: :moved_permanently
25372536head :ok
2538- get '/foobar', to: redirect('/foobar/baz', status: :moved_permanently)
25392537----
25402538
25412539==== EnforcedStyle: numeric
@@ -2548,15 +2546,13 @@ render json: { foo: 'bar' }, status: :not_found
25482546render plain: 'foo/bar', status: :not_modified
25492547redirect_to root_url, status: :moved_permanently
25502548head :ok
2551- get '/foobar', to: redirect('/foobar/baz', status: :moved_permanently)
25522549
25532550# good
25542551render :foo, status: 200
25552552render json: { foo: 'bar' }, status: 404
25562553render plain: 'foo/bar', status: 304
25572554redirect_to root_url, status: 301
25582555head 200
2559- get '/foobar', to: redirect('/foobar/baz', status: 301)
25602556----
25612557
25622558=== Configurable attributes
0 commit comments