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

12 lines
219 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
sign_out :administration if administration_signed_in?
redirect_to root_path
end
end