Bug #20845
render :nothing => true deprecated in Rails 5
Description
Ohai,
render :nothing => true
is deprecated in Rails 5, plus it returns HTTP 200 (OK) and in most cases you want HTTP 204 (No Content).
Associated revisions
History
#1
Updated by The Foreman Bot almost 5 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/6933 added
#2
Updated by Evgeni Golov almost 5 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello|018c1ebacd8172e64a53942e18d989f8633b4573.
#3
Updated by Justin Sherrill almost 5 years ago
- Legacy Backlogs Release (now unused) set to 284
Fixes #20845 - don't use render :nothing => true
it's deprecated in Rails 5