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