Sha256: 722373f5ef5c34841b21f429fe95f904fd46af01da55cd3afcd0ba8f5c737f08
Contents?: true
Size: 319 Bytes
Versions: 6
Compression:
Stored size: 319 Bytes
Contents
module Locomotive::Builder class Server class NotFound < Middleware def call(env) self.set_accessors(env) if self.page.nil? self.log "Page not found" env['builder.page'] = self.mounting_point.pages['404'] end app.call(env) end end end end
Version data entries
6 entries across 6 versions & 1 rubygems