Sha256: 0b40617c71557f35c0bb188fb9ba099cfa986fb7a2b50e9f0fc83358c500506d

Contents?: true

Size: 476 Bytes

Versions: 20

Compression:

Stored size: 476 Bytes

Contents

require 'tramway/user/engine'
require 'tramway/user/generators/install_generator'

module Tramway
  module User
    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

20 entries across 20 versions & 1 rubygems

Version Path
tramway-user-1.1.8 lib/tramway/user.rb
tramway-user-1.1.7 lib/tramway/user.rb
tramway-user-1.1.6 lib/tramway/user.rb
tramway-user-1.1.5 lib/tramway/user.rb
tramway-user-1.1.4.1 lib/tramway/user.rb
tramway-user-1.1.4 lib/tramway/user.rb
tramway-user-1.1.3 lib/tramway/user.rb
tramway-user-1.1.2 lib/tramway/user.rb
tramway-user-1.1.1 lib/tramway/user.rb
tramway-user-1.1 lib/tramway/user.rb
tramway-user-1.0.5 lib/tramway/user.rb
tramway-user-1.0.4 lib/tramway/user.rb
tramway-user-1.0.3.3 lib/tramway/user.rb
tramway-user-1.0.3.2 lib/tramway/user.rb
tramway-user-1.0.3.1 lib/tramway/user.rb
tramway-user-1.0.3 lib/tramway/user.rb
tramway-user-1.0.2.3 lib/tramway/user.rb
tramway-user-1.0.2.2 lib/tramway/user.rb
tramway-user-1.0.2.1 lib/tramway/user.rb
tramway-user-1.0.2 lib/tramway/user.rb