Disabled layouts ?

Hello,

Using layouts in very simple, but my applications seems to do not care
about layouts at all.

If I put the code..

class IndexController < AppplicationController
   layout 'mylayout'

   def index
   end

   def list
   end
end

..each of actions will try to open specific layout (corresponding to
name) despite of that I specified a layout in top.
I saw that there was a bug in rails , but It was long ago.

What might be wrong ?

P

OK , I found something,

I can use layouts, but I must have the separata layout for each action
in each controller's view foldes. This rhtml file can be blank , but
must have the name with action's name.

Isn't it strange to use global layout ,but still must create blank
default action's layouts ? Is the any way to override this?