views:

19

answers:

0

I need an easy way to grab layouts that are found in /app/views/layouts. I technically can go in there from Rails.root and grab all files I can, but I'm sure there's a better way.

Rails knows where to look for layouts and what extensions are ok. I tried to dig through actionpack but nothing popped out at me.

Thanks