Sha256: b8bc44561067cf038383c0160dabe51896fe976587fd5ef9cbb2334876f3faee

Contents?: true

Size: 267 Bytes

Versions: 4

Compression:

Stored size: 267 Bytes

Contents

module LunarShell
  module Satellites
    class ExitController < LunarShell::SatellitesController
      def run
        if current_user
          log_out!
        else
          @message = "Glitches can't leave their games..."
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
lunar_shell-0.5.2 app/controllers/lunar_shell/satellites/exit_controller.rb
lunar_shell-0.5.0 app/controllers/lunar_shell/satellites/exit_controller.rb
lunar_shell-0.4.1 app/controllers/lunar_shell/satellites/exit_controller.rb
lunar_shell-0.3.0 app/controllers/lunar_shell/satellites/exit_controller.rb