Skip to content

Commit

Permalink
fix: small typo in error-handling.md
Browse files Browse the repository at this point in the history
Fixes very small typo from Laravel to Rails
  • Loading branch information
PedroAugustoRamalhoDuarte authored and skryukov committed Jul 23, 2024
1 parent 0492d16 commit 36bedff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/error-handling.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Inertia solves this issue by showing all non-Inertia responses in a modal. This

In production you will want to return a proper Inertia error response instead of relying on the modal-driven error reporting that is present during development. To accomplish this, you'll need to update your framework's default exception handler to return a custom error page.

When building Laravel applications, you can accomplish this by using the `rescue_from` method in your `ApplicationController`.
When building Rails applications, you can accomplish this by using the `rescue_from` method in your `ApplicationController`.

```ruby
class ApplicationController < ActionController::Base
Expand Down

0 comments on commit 36bedff

Please sign in to comment.