Sha256: bd01633512fb6c1f78d782bb51b291d01372c19f462e41447e98e681a839c2d0
Contents?: true
Size: 283 Bytes
Versions: 2
Compression:
Stored size: 283 Bytes
Contents
module Locomotive::Builder class Server class NotFound < Middleware def call(env) self.set_accessors(env) if self.page.nil? env['builder.page'] = self.mounting_point.pages['404'] end app.call(env) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
locomotivecms_builder-1.0.0.alpha2 | lib/locomotive/builder/server/not_found.rb |
locomotivecms_builder-1.0.0.alpha1 | lib/locomotive/builder/server/not_found.rb |