Sha256: 06b0234ea5a04722e36888c763fe3531d024b01b9559f879243ff92d2d69f092

Contents?: true

Size: 369 Bytes

Versions: 21

Compression:

Stored size: 369 Bytes

Contents

require 'hanami/config/mapper'

module Hanami
  # @since 0.1.0
  # @api private
  module Config
    # Defines a route set
    #
    # @since 0.1.0
    # @api private
    class Routes < Mapper
      private
      # @since 0.1.0
      # @api private
      def error_message
        'You must specify a block or a file for routes definitions.'
      end
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
hanami-1.3.5 lib/hanami/config/routes.rb
hanami-1.3.4 lib/hanami/config/routes.rb
hanami-1.3.3 lib/hanami/config/routes.rb
hanami-1.3.2 lib/hanami/config/routes.rb
hanami-1.3.1 lib/hanami/config/routes.rb
hanami-1.3.0 lib/hanami/config/routes.rb
hanami-1.3.0.beta1 lib/hanami/config/routes.rb
hanami-1.2.0 lib/hanami/config/routes.rb
hanami-1.2.0.rc2 lib/hanami/config/routes.rb
hanami-1.2.0.rc1 lib/hanami/config/routes.rb
hanami-1.2.0.beta2 lib/hanami/config/routes.rb
hanami-1.2.0.beta1 lib/hanami/config/routes.rb
hanami-1.1.1 lib/hanami/config/routes.rb
hanami-1.1.0 lib/hanami/config/routes.rb
hanami-1.1.0.rc1 lib/hanami/config/routes.rb
hanami-1.1.0.beta3 lib/hanami/config/routes.rb
hanami-1.1.0.beta2 lib/hanami/config/routes.rb
hanami-1.1.0.beta1 lib/hanami/config/routes.rb
hanami-1.0.0 lib/hanami/config/routes.rb
hanami-1.0.0.rc1 lib/hanami/config/routes.rb