You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Change default response format of the show action to HTML
This is consistent with the other actions. When making HTTP requests
using tools that are not web browsers, like `curl` or `fetch` in
JavaScript without an explicit `Accept` header Rails will receive the
request as with the `Accept` header set to `*/*`. That means that all
registered mime types are a potential match and Rails will pick the
response type based on the order they're declared in the source code.
0 commit comments