Skip to content

Instantly share code, notes, and snippets.

@sbosell
Created February 17, 2014 23:52
Show Gist options
  • Save sbosell/9061711 to your computer and use it in GitHub Desktop.
Save sbosell/9061711 to your computer and use it in GitHub Desktop.
Umbraco Angular AngRenderModel
namespace App.Models
{
public class AngRenderModel : Umbraco.Web.Models.RenderModel
{
public bool isApp { get; set; }
public AngRenderModel(): base(UmbracoContext.Current.PublishedContentRequest.PublishedContent)
{
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment