[typo] typo 5.0.2 production installation themeing not working

Oren za ruby-forum-incoming at andreas-s.net
Mon Jan 21 16:22:20 EST 2008


ok, I found the problem.

in file typo\app\controllers\theme_controller.rb at line 36

-->     dst = "/#{page_cache_directory}/#{type}/theme/#{file}"

works when its changed to this
-->      dst = "#{page_cache_directory}/#{type}/theme/#{file}"

without the '/' before #{page_cache_directory}


this applies to Windows. I don't know how it will work with other files 
systems.

the default is for page_cache_directory is 'RAILS_ROOT + "/public"' as 
defined in
RubyOnRails/lib/ruby/gems/1.8/doc/actionpack-2.0.2/rdoc/classes/ActionController/Caching/Pages.html.

is this a bug or is there an environment variable to handle this?
-- 
Posted via http://www.ruby-forum.com/.


More information about the Typo-list mailing list