# Layout not being applied

**URL:** <https://www.ruby-forum.com/t/layout-not-being-applied/120503>\
**Category:** Rails\
**Created:** [November 17, 2007, 5:40pm UTC](https://www.ruby-forum.com/t/layout-not-being-applied/120503 "2007-11-17T17:40:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mattclarkson](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/958977/32.png) [@mattclarkson](https://www.ruby-forum.com/u/mattclarkson)\
**Post date:** [November 17, 2007, 5:40pm UTC](https://www.ruby-forum.com/t/layout-not-being-applied/120503/1 "2007-11-17T17:40:31Z")

</div>

I have a To-Do list app with this controller

class TodosController \< ApplicationController  
layout “todos”

“todos.rhtml” is the standard one generated by scaffold, but what is  
rendered is inside the layout/site.rhtml markup

btw, bug only exists on prod server; my local copy of the app looks  
fine.
