demarches-normaliennes/app/controllers/administrations/sessions_controller.rb
2018-10-01 16:15:46 +02:00

14 lines
234 B
Ruby

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