.success? => successful? (Rails 6 deprecation warning)
parent
0cb659a511
commit
e3333f1761
|
@ -1,5 +1,5 @@
|
||||||
<% if (response.success? || note.present?) %>
|
<% if (response.successful? || note.present?) %>
|
||||||
# <%= response.success? ? "" : "(NOT OK)" %> <%= request.pretty_url %>
|
# <%= response.successful? ? "" : "(NOT OK)" %> <%= request.pretty_url %>
|
||||||
<% if note.present? %>
|
<% if note.present? %>
|
||||||
**Notes:** <%= note %>
|
**Notes:** <%= note %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
Loading…
Reference in New Issue