Skip to content

Commit

Permalink
Fix formatting of the inline code for the text RedirectResponse
Browse files Browse the repository at this point in the history
  • Loading branch information
romain committed Jan 27, 2025
1 parent ec09cdf commit fd2c40d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LiveComponent/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1333,7 +1333,7 @@ Downloading files

Currently, Live Components do not natively support returning file responses directly from a LiveAction. However, you can implement file downloads by redirecting to a route that handles the file response.

Create a LiveAction that generates the URL for the file download and returns a `RedirectResponse`::
Create a LiveAction that generates the URL for the file download and returns a ``RedirectResponse``::

#[LiveAction]
public function initiateDownload(UrlGeneratorInterface $urlGenerator): RedirectResponse
Expand Down

0 comments on commit fd2c40d

Please sign in to comment.