Sha256: 4113c5c5198fd0fe30f33b9a77d1ae40f86949a92dd90361cdca3cb1ba1f385e
Contents?: true
Size: 462 Bytes
Versions: 5
Compression:
Stored size: 462 Bytes
Contents
# 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 if Devise::Test.rails5? render body: "unauthenticated", status: :unauthorized else render text: "unauthenticated", status: :unauthorized end end end
Version data entries
5 entries across 5 versions & 1 rubygems