demarches-normaliennes/app/controllers/administrations/sessions_controller.rb

15 lines
234 B
Ruby
Raw Normal View History

2017-12-21 11:41:44 +01:00
class Administrations::SessionsController < ApplicationController
layout "new_application"
def new
end
def destroy
2018-10-01 13:24:37 +02:00
if administration_signed_in?
sign_out :administration
end
2017-12-21 11:41:44 +01:00
redirect_to root_path
end
end