Module: Roda::RodaPlugins::BridgetownServer::ClassMethods

Defined in:
bridgetown-core/lib/roda/plugins/bridgetown_server.rb

Instance Method Summary collapse

Instance Method Details

#root_hook(&block) ⇒ Object



104
105
106
# File 'bridgetown-core/lib/roda/plugins/bridgetown_server.rb', line 104

def root_hook(&block)
  opts[:root_hook] = block
end