Sha256: a4df34116417891d95ee5d4109b1e4fdb3bbb5d1dfed35b4396114d2bab91369

Contents?: true

Size: 424 Bytes

Versions: 1

Compression:

Stored size: 424 Bytes

Contents

require "tramway/auth/engine"

module Tramway
  module Auth
    class << self
      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

1 entries across 1 versions & 1 rubygems

Version Path
tramway-auth-1.0 lib/tramway/auth.rb