title: Instance Variables Not Working in Device Controller - Rails 4
body: <p>I could not word the title properly but I hope you understand. I have followed the exact example on how to <a href="https://github.com/plataformatec/devise#configuring-controllers" rel="nofollow">generate a controller</a>.</p>
  
  <pre><code>rails generate devise:controllers users
  </code></pre>
  
  <p><strong>My routes:</strong></p>
  
  <pre><code>devise_for :users, controllers: { sessions: "users/sessions" }
  </code></pre>
  
  <p>Then copy (new.html.erb) from <code>devise/sessions</code> to <code>views/users/sessions</code>, then delete the view from <code>devise/sessions/</code></p>
  
  <p><strong>Then in:</strong></p>
  
  <pre><code>class Users::SessionsController &lt; Devise::SessionsController
    def new
       super
      @foo = 'Bar'
    end
  end
  </code></pre>
  
  <p>Now in my <code>views/users/sessions/new.html.erb</code>:</p>
  
  <pre><code>&lt;%= @foo %&gt; # should show Bar
  </code></pre>
  
  <p>That not showing. Am I missing something?</p>