Sha256: dd13207709b61cb7fcc04b0665d2abc607e4f99055a0fb77f7425ca813b057b0
Contents?: true
Size: 738 Bytes
Versions: 7
Compression:
Stored size: 738 Bytes
Contents
require "tramway/auth/engine" module Tramway module Auth class << self def authenticable_classes @authenticable_classes ||= [] end def authenticable_classes=(value) @authenticable_classes ||= [] if value.is_a? Array @authenticable_classes += value else @authenticable_classes << value end end def root File.dirname __dir__ end def layout_path=(path) @layout_path = path end def layout_path @layout_path ||= 'tramway/user/application' end def root_path=(path) @root_path = path end def root_path @root_path || '/' end end end end
Version data entries
7 entries across 7 versions & 1 rubygems