title: Calling 2 different views in controller rails
body: <p>I have 2 versions of the same pages in my rails app and I would like for them to alternately load when the same page is called. </p>
  
  <p>So for example: On page load index view comes up. On reload or refresh the alt_index page loads. How can I accomplish this? I am sure it can be accomplished in a controller action but not sure how.</p>
  
  <pre><code>class ComingSoonController &lt; ApplicationController
   def index
     render('alt_index' || 'index')
   end
  
  end
  </code></pre>
  
  <p>This only renders the alt_index page I need it to alternate.</p>