app/controllers/application_controller.rb
def logout
    reset_session
    flash[:notice] = t(:logged_out)
    RubyCAS::Filter.logout(self, root_path)
  end
# Destroys session and logs user out of CAS.
Destroys session and logs user out of CAS.
Destroys session and logs user out of CAS .
def logout
    reset_session
    flash[:notice] = t(:logged_out)
    RubyCAS::Filter.logout(self, root_path)
  end
def logout reset_session flash [ :notice ] = t ( :logged_out ) RubyCAS :: Filter . logout ( self , root_path ) end
Destroys session and logs user out of CAS.
Destroys session and logs user out of CAS .