Sha256: b186d774cc845b2327aca1257a9ef7b70d54ad61170240f0654d3963b8c82394
Contents?: true
Size: 343 Bytes
Versions: 15
Compression:
Stored size: 343 Bytes
Contents
module CASino class Listener # include helpers to have the route path methods (like sessions_path) include CASino::Engine.routes.url_helpers def initialize(controller) @controller = controller end protected def assign(name, value) @controller.instance_variable_set("@#{name}", value) end end end
Version data entries
15 entries across 15 versions & 1 rubygems