comfy / comfortable-mexican-sofa

ComfortableMexicanSofa is a powerful Ruby on Rails 5.2+ CMS (Content Management System) Engine
MIT License
2.72k stars 637 forks source link

render cms_layout throws ActionView::MissingTemplate #920

Closed ahallock closed 4 years ago

ahallock commented 4 years ago

Expected behavior

Should render CMS layout.

Actual behavior

Tries to find a view template using the typical Rails view directories

Steps to reproduce

  1. Create a CMS layout
  2. Attempt to render in a controller action using the render cms_layout option documented at: https://github.com/comfy/comfortable-mexican-sofa/wiki/Docs:-CMS-Render-Methods

System configuration

Rails version: 4.2.9

CMS version: 1.12.7

Ruby version: 2.5.7

ahallock commented 4 years ago

I mistakenly used a newer option cms_fragments when I should have been using cms_blocks