[Rails] *Very* basic layout question

Santiago Hirschfeld jsantiagoh at gmail.com
Sun Jan 22 14:43:09 GMT 2006


I'm trying to use a different layout for just one action in my
controller, all the other actions use the application.rhtml layout, so
what i'm doing is ...

class SomeController < ApplicationController
    layout "simple", :only=> :some_action

    ......

end

and the "simple" layout is applied to all the actions, can someone
please give me a hint?

Thanks for everything. I'm loving rails so far, loving the comunity =).


More information about the Rails mailing list