Sha256: bd803a019e24163795a36f410f229e3a8cd43def22d232302cab30499b2d84ad

Contents?: true

Size: 381 Bytes

Versions: 1

Compression:

Stored size: 381 Bytes

Contents

Rails.application.routes.draw do
  get "/home" => "application#home", as: :root
  get "/customized_controller_home" => "customized_on_expired_session#home", as: :customized_controller_home
end


class ApplicationController < ActionController::Base
  include Frikandel::LimitSessionLifetime

  protect_from_forgery with: :exception

  def home
    render text: "testing"
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
frikandel-1.0.0 spec/support/application_controller.rb