Sha256: c82d0899e96ef893745e0e973ab379cee03222616e373956bc31eca1769b2527

Contents?: true

Size: 206 Bytes

Versions: 2

Compression:

Stored size: 206 Bytes

Contents

class SignInsController::Destroy < BaseAction
  def perform
    return build_view(Home::ShowRedirect) unless current_user

    SignOutService.perform!(session)

    build_view(Home::ShowRedirect)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
aldous-1.0.1 examples/basic_todo/app/controller_actions/sign_ins_controller/destroy.rb
aldous-1.0.0 examples/basic_todo/app/controller_actions/sign_ins_controller/destroy.rb