12 lines
206 B
Ruby
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
|