I am trying to select a layout for a page based on what action is called.
if controller.action_name == ‘about’
But I am receiving this error:
undefined local variable or method `controller' for HomeController:Class Is there any way that I can do this? Is this even possible? Thanks, Jonathon