Files
devise/test/rails_app/app/controllers/home_controller.rb
2023-10-12 16:52:01 -03:00

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