Skip to content

Commit 7d388d5

Browse files
committed
Fixes
1 parent a837327 commit 7d388d5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

_overviews/toolkit/web-server-cookies-and-decorators.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: How to use cookies and decorators?
33
type: section
44
description: Using cookies and decorators with Cask
55
num: 36
6-
previous-page: web-server-query-websockets
6+
previous-page: web-server-websockets
77
next-page:
88
---
99

_overviews/toolkit/web-server-input.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ with names corresponding to names of fields in the form and set the form method
2020
object MyApp extends cask.MainRoutes {
2121

2222
@cask.get("/form")
23-
def getForm(): String = {
23+
def getForm(): cask.Response = {
2424
val html =
2525
"""<!doctype html>
2626
|<html>
@@ -51,7 +51,7 @@ object MyApp extends cask.MainRoutes {
5151
object MyApp extends cask.MainRoutes:
5252

5353
@cask.get("/form")
54-
def getForm(): String =
54+
def getForm(): cask.Response =
5555
val html =
5656
"""<!doctype html>
5757
|<html>
@@ -163,7 +163,7 @@ object MyApp extends cask.MainRoutes:
163163
{% endtab %}
164164
{% endtabs %}
165165

166-
In this example the JSON is merely converted to `String`, check the [*uPickle tutorial*](/toolkit/json-introduction.html) for more information
166+
In this example the JSON is merely converted to `String`, check the [*uPickle tutorial*](/toolkit/json-intro.html) for more information
167167
on what can be done with `ujson.Value` type.
168168

169169
Send a POST request.

0 commit comments

Comments
 (0)