title: Devise Landing Page
body: <p>I am using Rails 4 and wanting to have a landing page whereby the users can elect to either sign in or sign up. The issue I am having at present is that the routes keep directing me back to the sign_in.</p>
  
  <p>Routes</p>
  
  <pre><code>Rails.application.routes.draw do
  
    get 'home/index'
  
    root 'home#index'
  
    devise_for :people
  </code></pre>
  
  <p>HomeController</p>
  
  <pre><code>class HomeController &lt; ApplicationController
    skip_before_action :authenticate_user!
  
    def index
    end
  end
  </code></pre>
  
  <p>PeopleController</p>
  
  <pre><code>class PeopleController &lt; ApplicationController
  
    before_filter :set_person, only: [:show, :edit, :update, :destroy]
    before_filter :authenticate_person!
  
    respond_to :html
  </code></pre>
  
  <p>Terminal Output</p>
  
  <pre><code>Started GET "/" for 127.0.0.1 at 2015-11-17 22:28:51 +1100
    ActiveRecord::SchemaMigration Load (0.7ms)  SELECT "schema_migrations".* FROM "schema_migrations"
  Processing by HomeController#index as HTML
  Completed 401 Unauthorized in 20ms (ActiveRecord: 0.0ms)
  </code></pre>