title: Accessing Devise Config Variables
body: <p>In my Rails app, what would be the way to access a Devise config variable directly from a view? </p>
  
  <p>I want to show <code>config.allow_unconfirmed_access_for</code> from Devise's <code>:confirmable</code> module. This variable is set in <code>devise.rb</code> initializer: </p>
  
  <pre><code>Devise.setup do
    config.allow_unconfirmed_access_for = 3.days
  end
  </code></pre>
  
  <p>Thanks!</p>