Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

functions #71

Open
zavr-1 opened this issue Dec 8, 2019 · 1 comment
Open

functions #71

zavr-1 opened this issue Dec 8, 2019 · 1 comment

Comments

@zavr-1
Copy link
Contributor

zavr-1 commented Dec 8, 2019

Screenshot 2019-12-09 at 01 48 19

@zavr-1
Copy link
Contributor Author

zavr-1 commented Dec 8, 2019

<fn void name="redirect">
      <arg type="string" name="url">
        The URL to redirect to.
      </arg>
      <arg type="string" name="referrer" opt>
        The referrer to set when redirecting.
      </arg>
      Perform a 302 redirect to `url`. The string "back" is special-cased to provide Referrer support, when Referrer is not present `alt` or "/" is used.

      _Examples_:

      ```js
      this.redirect('back')
      this.redirect('back', '/index.html')
      this.redirect('/login')
      this.redirect('http://google.com')
      ```
    </fn>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant