title: Rails 5 render a template located outside of the 'views' directory
body: <p>The following code</p>
  
  <pre><code>def show
    render File.join(Rails.root, 'app', 'themes', 'default_theme', 'template'), layout: File.join(Rails.root, 'app', 'themes', 'default_theme', 'layout')
  end
  </code></pre>
  
  <p>Works in rails 4.2.x but outputs the following error when using Rails 5.0.0</p>
  
  <pre><code>ActionView::MissingTemplate:
   Missing template vagrant/app/themes/default_theme/template with {:locale=&gt;[:nl], :formats=&gt;[:html], :variants=&gt;[], :handlers=&gt;[:raw, :erb, :html, :builder, :ruby]}. Searched in:
     * "/vagrant/app/views/themes/default_theme"
     * "/vagrant/app/views"
     * "/home/vagrant/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/bundler/gems/devise-ebe65b516b38/app/views"
     * "/home/vagrant/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/devise-i18n-1.1.0/app/views"
  </code></pre>
  
  <p>It looks like it is searching only inside the 'app/views/*' directory. Is there a way to render a template located outside of the 'views' directory using rails 5.0.0, so it works just like it used to in previous Rails versions?</p>