Sha256: af915133c231ef3587951c0ddcea68b143e21dfe1480217e7375bf594df17d0e
Contents?: true
Size: 687 Bytes
Versions: 3
Compression:
Stored size: 687 Bytes
Contents
# frozen_string_literal: true require 'tramway/auth/engine' module Tramway module Auth class << self def authenticable_models @authenticable_models ||= [] end def authenticable_models=(value) @authenticable_models ||= [] if value.is_a? Array @authenticable_models += value else @authenticable_models << value end end def root File.dirname __dir__ end attr_writer :layout_path def layout_path @layout_path ||= 'tramway/user/application' end attr_writer :root_path def root_path @root_path || '/' end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
tramway-auth-1.2.1.1 | lib/tramway/auth.rb |
tramway-auth-1.2.1 | lib/tramway/auth.rb |
tramway-auth-1.2 | lib/tramway/auth.rb |