WeavyController.RedirectToReferrer Method
- Namespace:
- Weavy.Web.Controllers
- Assembly:
- Weavy.Web.dll
RedirectToReferrer(string)
Creates a System.Web.Mvc.RedirectResult
that redirects to the url referrer of the request.
public RedirectResult RedirectToReferrer(string fallback)
Parameters
- fallback
- string
If referrer is null or not local to the applciation, redirect to this url instead.
Returns
System.Web.Mvc.RedirectResult