Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

John McDowall's latest activity

Friday, November 05 2010
5921 Dynamic Layout by Method in Application Controller is broken in Rails 3.0.1 was updated in Ruby on Rails
  • John McDowall
    John McDowall commented at 3:52 PM

    Solved. Was using except elsewhere which caused the other action methods not to use any layout.

  • John McDowall
    John McDowall created the ticket at 12:52 PM

    I'm using the following in my ApplicationController:

    layout :determine_layout
    
    def determine_layout
       Logger.Debug "Processing layout"
       if devise_controller...