Skip to content

Instantly share code, notes, and snippets.

public static RenderPartialExpression<TInputModel> QuickPartial<TInputModel, TPartialModel>(
this IFubuPage<TInputModel> page, Expression<Func<TInputModel, TPartialModel>> expression)
where TInputModel : class
where TPartialModel : class
{
return new RenderPartialExpression<TInputModel>(page, page.Get<IPartialRenderer>(), page.Get<IFubuRequest>())
.For(expression);
}
Jeremy, this is for your benefit. I wanted to follow Josh's advice with that patch that Peter just sent in.
Here was my workflow:
- git pull (make sure I'm up to date)
- git checkout -b monospark (make a branch to work in)
- *copy the patch file into my working dir*
- git apply patch.txt
- del patch.txt
- rake