Skip to content

Commit

Permalink
update source code url
Browse files Browse the repository at this point in the history
  • Loading branch information
xuwei-k committed Oct 27, 2023
1 parent 0e2f7f7 commit 6d9c777
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion content/guides/3.0/formats/upload.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ layout: guides-3.0
File upload support is included within Scalatra by default by leveraging
the Servlet 3.0 API's built-in support for `multipart/form-data` requests.
For a working example, see
[FileUploadExample.scala](https://github.com/scalatra/scalatra/blob/develop/example/src/main/scala/org/scalatra/FileUploadExample.scala).
[FileUploadExample.scala](https://github.com/scalatra/scalatra-website-examples/blob/master/3.0/http/scalatra-http-demo/src/main/scala/org/scalatra/example/FileUploadExample.scala).

To enable file upload support, extend your application with `FileUploadSupport`
and set the upload configuration with a call to `configureMultipartHandling`:
Expand Down
2 changes: 1 addition & 1 deletion content/guides/3.0/http/actions.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,4 @@ all of them and find out what response codes they produce, the easiest way is
to look at the [ActionResult source code][actionresult-source].


[actionresult-source]:https://github.com/scalatra/scalatra/blob/develop/core/src/main/scala/org/scalatra/ActionResult.scala
[actionresult-source]:https://github.com/scalatra/scalatra/blob/v3.0.0/core/src/main/scala/org/scalatra/ActionResult.scala
4 changes: 2 additions & 2 deletions content/guides/3.0/http/authentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ Alternately, you can register a strategy using init params in
`context.setInitParameter("scentry.strategies", "UserPasswordStrategy")`

To write a Scentry Strategy, you'll need to implement the methods in
[ScentryStrategy](https://github.com/scalatra/scalatra/blob/develop/auth/src/main/scala/org/scalatra/auth/ScentryStrategy.scala).
[ScentryStrategy](https://github.com/scalatra/scalatra/blob/v3.0.0/auth/src/main/scala/org/scalatra/auth/ScentryStrategy.scala).

See Scalatra's built-in [BasicAuthStrategy](https://github.com/scalatra/scalatra/blob/develop/auth/src/main/scala/org/scalatra/auth/strategy/BasicAuthStrategy.scala)
See Scalatra's built-in [BasicAuthStrategy](https://github.com/scalatra/scalatra/blob/v3.0.0/auth/src/main/scala/org/scalatra/auth/strategy/BasicAuthStrategy.scala)
for an example.

## Dependency
Expand Down
2 changes: 1 addition & 1 deletion content/guides/3.0/modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,4 +119,4 @@ helpers, you can just [browse the Scalatra core source][scalatracore] on
GitHub. Scalatra source code is meant to be simple and readable; don't be scared
to take a look at it if you need to understand how something works.

[scalatracore]: https://github.com/scalatra/scalatra/tree/develop/core/src/main/scala/org/scalatra
[scalatracore]: https://github.com/scalatra/scalatra/tree/v3.0.0/core/src/main/scala/org/scalatra

0 comments on commit 6d9c777

Please sign in to comment.