Sha256: 90b63a01937b906b134ca2d345cca57bcb259ce3e87ce1c955988001f045c503

Contents?: true

Size: 222 Bytes

Versions: 2

Compression:

Stored size: 222 Bytes

Contents

class SignInsController::Destroy < BaseAction
  def perform
    return view_builder.build(Home::ShowRedirect) unless current_user

    SignOutService.perform!(session)

    view_builder.build(Home::ShowRedirect)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
aldous-1.1.3 examples/basic_todo/app/controller_actions/sign_ins_controller/destroy.rb
aldous-1.1.2 examples/basic_todo/app/controller_actions/sign_ins_controller/destroy.rb