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

13 lines
206 B
Ruby
Raw Normal View History

2017-12-21 11:41:44 +01:00
class Administrations::SessionsController < ApplicationController
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