This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |