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
精彩评论