Sha256: 241fe85367030b3cd4026392c896e80b0fba64f352de4942d435eae5c2206b3e

Contents?: true

Size: 425 Bytes

Versions: 13

Compression:

Stored size: 425 Bytes

Contents

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.rails5?
      render body: "unauthenticated", status: :unauthorized
    else
      render text: "unauthenticated", status: :unauthorized
    end
  end
end

Version data entries

13 entries across 13 versions & 4 rubygems

Version Path
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/devise-4.2.1/test/rails_app/app/controllers/home_controller.rb
devise-4.2.1 test/rails_app/app/controllers/home_controller.rb
devise_openid_authenticatable-1.3.0 rails/app/controllers/home_controller.rb
devise-4.2.0 test/rails_app/app/controllers/home_controller.rb
devise-4.0.3 test/rails_app/app/controllers/home_controller.rb
devise-4.1.1 test/rails_app/app/controllers/home_controller.rb
ish_lib_manager-0.0.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/devise-4.1.0/test/rails_app/app/controllers/home_controller.rb
devise-4.1.0 test/rails_app/app/controllers/home_controller.rb
devise-4.0.2 test/rails_app/app/controllers/home_controller.rb
devise-4.0.1 test/rails_app/app/controllers/home_controller.rb
devise-4.0.0 test/rails_app/app/controllers/home_controller.rb
devise-4.0.0.rc2 test/rails_app/app/controllers/home_controller.rb
devise-4.0.0.rc1 test/rails_app/app/controllers/home_controller.rb