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