title: Redirect after signing out of ActiveAdmin
body: <p>I'm trying to redirect users to my root_path which is <code>/</code> and allowed for unauthenticated users, but I can't seem to be able to change the default behavior of <code>active admin</code>.</p>
  
  <p>I know <code>active admin</code> uses <code>devise</code> as the authentication mechanism, but I could not override the defaults for <code>devise</code> either.</p>
  
  <p>I tried the following in my <code>application_controller.rb</code> (even though it's supposed to be the default):</p>
  
  <pre><code># Overwriting the sign_out redirect path method
  def after_sign_out_path_for(resource_or_scope)
    root_path
  end
  </code></pre>
  
  <p>But I still see this in my logs:</p>
  
  <pre><code>Started GET "/admin/logout?locale=fr" for 127.0.0.1 at 2012-06-07 11:30:15 -0400
    Processing by ActiveAdmin::Devise::SessionsController#destroy as HTML
    Parameters: {"locale"=&gt;"fr"}
    AdminUser Load (0.4ms)  SELECT `admin_users`.* FROM `admin_users` WHERE `admin_users`.`id` = 1 LIMIT 1
     (0.1ms)  BEGIN
     (0.3ms)  UPDATE `admin_users` SET `remember_created_at` = NULL, `updated_at` = '2012-06-07 15:30:15' WHERE `admin_users`.`id` = 1
     (0.5ms)  COMMIT
  Redirected to http://localhost:3000/admin
  Completed 302 Found in 47ms
  </code></pre>
  
  <p>So it sends me back to the login page.</p>