F.e I have two umbraco apps, The root one is Uintra and the virtual directory is uSkinned(Sub-Folder)
GIVEN:
If a user is logged in via Uintra app.
WHEN:
He/She navigate from Uintra app to uSkinned app
THEN:
return RedirectToRoute("Dashboard");
Else
return base.Index(model);
The default view.
Possible?
public class HomeController : Umbraco.Web.Mvc.RenderMvcController
{
public override ActionResult Index(ContentModel model, string token)
{
if (IsValidToken(token))
return RedirectToRoute("Dashboard");
Custom MVC controllers with a valid login credentials?
Hi Expert,
F.e I have two umbraco apps, The root one is Uintra and the virtual directory is uSkinned(Sub-Folder)
GIVEN: If a user is logged in via Uintra app. WHEN: He/She navigate from Uintra app to uSkinned app THEN: return RedirectToRoute("Dashboard");
Else return base.Index(model); The default view.
Possible?
public class HomeController : Umbraco.Web.Mvc.RenderMvcController { public override ActionResult Index(ContentModel model, string token) { if (IsValidToken(token)) return RedirectToRoute("Dashboard");
Hi All,
I found the interface by implementing the IContentFinder and return RedirectToRoute("Dashboard");.
is working on a reply...