Dynamic views are not being written to a disk after deployment #525

Open
tbodnya opened this Issue May 21, 2012 · 0 comments

Comments

Projects
None yet
1 participant
@tbodnya
Member

tbodnya commented May 21, 2012

If there are templates and partials in a database they have to be written to a disk into /tmp/views directory. It is being written when you create or update them but after deployment the directory is cleared and no views are written.
It is happening only in rails 3 versions of browsercms.

There is this file: /browsercms-3.3.3/lib/cms/init.rb
And line "DynamicView.write_all_to_disk! if DynamicView.table_exists?" is commented out in rails 3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment