Skip to content

Commit a52df54

Browse files
committed
Fix linting issues in action_controller_overview.md
1 parent 89f9ca7 commit a52df54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guides/source/action_controller_overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1075,6 +1075,7 @@ end
10751075

10761076
You can call any method on `format` that is an extension registered as a MIME type by Rails.
10771077
Rails already registers common MIME types like `"text/html"` and `"application/pdf"`:
1078+
10781079
```ruby
10791080
Mime::Type.lookup_by_extension(:pdf)
10801081
# => "application/pdf"
@@ -1323,4 +1324,3 @@ The health check will now be accessible via the `/healthz` path.
13231324
NOTE: This endpoint does not reflect the status of all of your application's dependencies, such as the database or redis cluster. Replace "rails/health#show" with your own controller action if you have application specific needs.
13241325

13251326
Think carefully about what you want to check as it can lead to situations where your application is being restarted due to a third-party service going bad. Ideally, you should design your application to handle those outages gracefully.
1326-

0 commit comments

Comments
 (0)