ruby-on-railscomfortable-mexican-sofa

How to use Fixtures in Comfortable Mexican Sofa


I set the config options to enable fixtures as explained in the man page

I then made a layoutTest.html in various places (file folders, not in the front-end cms) including the db folder and I could not get it to show up as a layout in the CMS back-end.

What am I doing wrong?


Solution

  • I mimicked the folder structure in /db/sample-site with my site slug in place of sample-site.

    Key point is to restart the Rails server, as the config settings are read only after that is done.

    From there on simply refreshing the page will load the new layouts.