Result:
Unhandled Exception: RazorEngine.Templating.TemplateCompilationException: Unable to compile template. The name 'Model' does not exist in the current context
The model does not seem to be passed to the layout as it is choking on the name 'Model'.
What is the correct way to reference the model from a Layout page?
See: https://gist.github.com/1402784
Result: Unhandled Exception: RazorEngine.Templating.TemplateCompilationException: Unable to compile template. The name 'Model' does not exist in the current context
The model does not seem to be passed to the layout as it is choking on the name 'Model'.
What is the correct way to reference the model from a Layout page?