Skip to content

Commit

Permalink
Update docs.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tipsy committed Aug 8, 2024
1 parent b8847ab commit 421d122
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/docs/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -846,7 +846,7 @@ app.beforeMatched { ctx ->
{% endcapture %}
{% include macros/docsSnippet.html java=java kotlin=kotlin %}

The routes are set when you declare your endpoints:
The roles are set when you declare your endpoints:

{% capture java %}
app.get("/public", ctx -> ctx.result("Hello public"), Role.OPEN);
Expand Down

0 comments on commit 421d122

Please sign in to comment.