.success? => successful? (Rails 6 deprecation warning)

pull/898/head
Rick Carlino 2018-06-26 14:20:20 -05:00
parent 0cb659a511
commit e3333f1761
1 changed files with 2 additions and 2 deletions

View File

@ -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 %>