Module: Roda::RodaPlugins::HostRouting::InstanceMethods

Defined in:
lib/roda/plugins/host_routing.rb

Instance Method Summary collapse

Instance Method Details

#_host_routing_default(_) ⇒ Object

Handle case where plugin is used without providing a block to hosts.default. This returns nil, ensuring that the hostname provided to hosts.default will be used.



158
159
160
# File 'lib/roda/plugins/host_routing.rb', line 158

def _host_routing_default(_)
  nil
end