Sha256: 2d63de5e87088118e98fc78941e9a57ed0d6677fbc94fcce79bf60a799dd74d6
Contents?: true
Size: 412 Bytes
Versions: 9
Compression:
Stored size: 412 Bytes
Contents
require "webmachine/application" class Webmachine::Application def application_context= application_context @application_context = application_context # naughty, but better than setting each route manually routes.each do | route | route.instance_variable_get(:@bindings)[:application_context] = application_context end end def application_context @application_context end end
Version data entries
9 entries across 9 versions & 1 rubygems