Sha256: 3be51725cc8961a11b8bae573512b9653722a46be19c4cc54bf9ab69f677e909

Contents?: true

Size: 241 Bytes

Versions: 85

Compression:

Stored size: 241 Bytes

Contents

module Caboose
  class LogoutController < ApplicationController
    # GET /logout
    def index
      logout_user
      elo = User.find(User::LOGGED_OUT_USER_ID)        
      login_user(elo)      
      redirect_to "/"    
    end
  end
end

Version data entries

85 entries across 85 versions & 1 rubygems

Version Path
caboose-cms-0.4.10 app/controllers/caboose/logout_controller.rb
caboose-cms-0.4.9 app/controllers/caboose/logout_controller.rb
caboose-cms-0.4.8 app/controllers/caboose/logout_controller.rb
caboose-cms-0.4.7 app/controllers/caboose/logout_controller.rb
caboose-cms-0.4.6 app/controllers/caboose/logout_controller.rb
caboose-cms-0.4.5 app/controllers/caboose/logout_controller.rb
caboose-cms-0.4.4 app/controllers/caboose/logout_controller.rb
caboose-cms-0.4.3 app/controllers/caboose/logout_controller.rb
caboose-cms-0.4.2 app/controllers/caboose/logout_controller.rb
caboose-cms-0.4.1 app/controllers/caboose/logout_controller.rb
caboose-cms-0.3.129 app/controllers/caboose/logout_controller.rb
caboose-cms-0.3.128 app/controllers/caboose/logout_controller.rb
caboose-cms-0.3.127 app/controllers/caboose/logout_controller.rb
caboose-cms-0.3.110 app/controllers/caboose/logout_controller.rb
caboose-cms-0.3.101 app/controllers/caboose/logout_controller.rb
caboose-cms-0.3.100 app/controllers/caboose/logout_controller.rb
caboose-cms-0.3.99 app/controllers/caboose/logout_controller.rb
caboose-cms-0.3.98 app/controllers/caboose/logout_controller.rb
caboose-cms-0.3.97 app/controllers/caboose/logout_controller.rb
caboose-cms-0.3.96 app/controllers/caboose/logout_controller.rb