Skip to content

Customizable Suffixes

Latest
Compare
Choose a tag to compare
@NullVoxPopuli NullVoxPopuli released this 02 Aug 02:32
· 6 commits to master since this release
  • Added the ability to use the default suffixes, and customize available suffixes for use in resource folders.
# config/initializers/gems/drawers.rb
require 'drawers'

Drawers.resource_suffixes = [
  *Drawers::DEFAULT_RESOURCE_SUFFIXES, 
  'SerializableResource'
]