2014-06-26 50 views
0

页脚页脚模板如何用于在播放框架中呈现PDF?播放框架1.2.4使用页眉页脚模板

我尝试下面的代码 -

options.header_template = “/header.html”。

不管我给html的路径如何,它总是给我找不到文件的错误。你能否建议我可能会误解的地方?

+0

是在 /公共文件夹中的header.html? – TeTeT

回答

0

它应该是options.header_template =“ControllerNamedFolder/header.html”。 ControllerNamedFolder位于app/views下。 无论如何感谢...