Check if a layout exists in Rails?

Posted by viatropos on Stack Overflow See other posts from Stack Overflow or by viatropos
Published on 2010-05-17T22:31:40Z Indexed on 2010/05/17 22:40 UTC
Read the original article Hit count: 141

Filed under:
|

Is there a standard way to check if a view layout exists from within a Controller in Rails? I'm trying to allow the user to determine the layout, but it needs to exist first.

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about views