title: Rails Devise Collection Route Issue
body: <p>I have searched and cannot get the following to work.</p>
  
  <p>I am trying to add a collection route as shown in the example "blog" snippets below. 
  As occurs with the index route, I would like to have an archive route that presents a view of the archived blog entries when users are not logged into the application. The blog "index" route works as expected, when a user is not logged in, an index is presented. Unfortunately, the archive route results in the error listed below when the user <strong>is not logged in</strong>. When the user <strong>is logged in</strong> the archive route works as expected, presenting a listing of the archived blog entries. </p>
  
  <p>I would like to have the same behavior for the "archive" route as with the index route when users are not logged into the application. How do I configure this in devise?</p>
  
  <p>Thank you in advance.</p>
  
  <h3>excerpt from routes.rb</h3>
  
  <pre><code>resources :blogs do
    collection do
      get 'archive'
    end
  end
  </code></pre>
  
  <h3>excerpt from blogs_controller.rb</h3>
  
  <pre><code>class BlogsController &lt; ApplicationController
    before_filter :authenticate_user!, :except =&gt; [:index, :archive] # Devise
    ...
  </code></pre>
  
  <h3>url request</h3>
  
  <pre><code>http://myexample.com/blogs/archive?blog_id=1
  </code></pre>
  
  <h3>resulting error</h3>
  
  <pre><code>Access denied on archive Blog(id: integer, name: string, ...
  Redirected to http://myexample.com/
  </code></pre>