mirror of
https://github.com/heartcombo/devise.git
synced 2026-04-06 03:01:21 -04:00
28 lines
355 B
Ruby
28 lines
355 B
Ruby
# frozen_string_literal: true
|
|
|
|
class HomeController < ApplicationController
|
|
def index
|
|
end
|
|
|
|
def private
|
|
end
|
|
|
|
def user_dashboard
|
|
end
|
|
|
|
def admin_dashboard
|
|
end
|
|
|
|
def join
|
|
end
|
|
|
|
def set
|
|
session["devise.foo_bar"] = "something"
|
|
head :ok
|
|
end
|
|
|
|
def unauthenticated
|
|
render body: "unauthenticated", status: :unauthorized
|
|
end
|
|
end
|