title: Rails - Render template from a customized/different folder
body: <p>I am using Ruby on Rails 3.2.2</p>
  
  <p>Is it possible to call a layout from a location other than app/views/layouts?</p>
  
  <p>I want to use my layout that is located on app/extensions/sites/layouts.</p>
  
  <p>I tried this code but it doesn't work.</p>
  
  <pre><code>render "#{Rails.root}/app/extensions/sites/views/pages/template01.html.erb", :template  =&gt; "#{Rails.root}/app/extensions/sites/views/layouts/layout01",
  </code></pre>