comfy/comfortable-mexican-sofa — pull request #230 by jhawthorn (2012-10-05 03:48:17+00:00)
Title: cms:file should not return true for is_cms_block?

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.