Skip to content


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

tbodnya opened this Issue · 0 comments

1 participant

BrowserMedia member

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
Something went wrong with that request. Please try again.