diff --git a/docsite/source/index.html.md b/docsite/source/index.html.md
index 0d6e588..4ee276b 100644
--- a/docsite/source/index.html.md
+++ b/docsite/source/index.html.md
@@ -188,14 +188,11 @@ Here's a simple usage example how you could access an operation powered by dry-m
```ruby
class UsersController < ApplicationController
def create
- resolve("users.create").(safe_params[:user]) do |m|
- m.success do |user|
- render json: user
- end
-
- m.failure do |code, errors|
- render json: { code: code, errors: errors.to_h }, status: :unprocessable_entity
- end
+ case resolve("users.create").(safe_params[:user])
+ in Success[user]
+ render json: user
+ in Failure[code, errors]
+ render json: { code: code, errors: errors.to_h }, status: :unprocessable_entity
end
end
end