Hello,
I have a controller which has two actions. For the first, I want to use
the standard layout, but for the second, I don’t want any layout. For
example:
class MyController < ApplicationController
layout ‘standard’
def index
@display = ‘this view has a standard layout!’
end
def anotheraction
@display = ‘this view has a standard layout, but I dont want it
to!’
end
end
Is there a way I can make ‘anotheraction’ not use the layout defined in
the class?
Any help is appreciated!
Thank you,
- Jeff M.