Sha256: 68c0d68bc3d0123d0777deb0a01af9e819aea518db26ef65e6363771f301017a
Contents?: true
Size: 388 Bytes
Versions: 14
Compression:
Stored size: 388 Bytes
Contents
# frozen_string_literal: true module Arclight module Routes # Inject a hierarchy route for displaying the # components in the collection context class Hierarchy def initialize(defaults = {}) @defaults = defaults end def call(mapper, _options = {}) mapper.member do mapper.get 'hierarchy' end end end end end
Version data entries
14 entries across 14 versions & 1 rubygems