demarches-normaliennes/app/controllers/administrations/sessions_controller.rb
2019-01-07 12:17:05 +01:00

12 lines
206 B
Ruby

class Administrations::SessionsController < ApplicationController
def new
end
def destroy
if administration_signed_in?
sign_out :administration
end
redirect_to root_path
end
end