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