Rails Layout name inside view

Posted by pepernik on Stack Overflow See other posts from Stack Overflow or by pepernik
Published on 2010-04-12T13:03:34Z Indexed on 2010/04/14 16:43 UTC
Read the original article Hit count: 298

Filed under:
|
|

How can I print out the name of current layout in a view?

Example

puts controller.current_layout

Thx

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about layout