Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cms:file should not return true for is_cms_block? #230

Merged
merged 1 commit into from
Oct 12, 2012

Conversation

jhawthorn
Copy link
Contributor

cms:file tags were returning true for is_cms_block?, despite not using a block. I'm assuming this is an mistake, since PageFile and PageFiles are the file tags which use a block.

This was causing oddness with the new namespace support in pages: {{cms:file:test.png}} was interpreted as being from the 'test' namespace. Errors were missed due to the rescue nil when calling the form builder in /pages/_form_blocks.html.erb.

GBH added a commit that referenced this pull request Oct 12, 2012
cms:file should not return true for is_cms_block?
@GBH GBH merged commit 7c93396 into comfy:master Oct 12, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants