开发者

Overriding public-directory in Rails 3?

I'm building a template system for a CMS in Rails 3, 开发者_运维百科with each template placed in {application_root}/templates/{template_name}/.

For each template I would like to have a public-directory that overrides the standard one. How can it be done?


You need define the paths.public in config/application.rb

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜