Sha256: a54ef0e4c93e2f05dd6d658cbcde6d52ede0fcec6fa297ecfe2d1d05ee4cddea
Contents?: true
Size: 429 Bytes
Versions: 2
Compression:
Stored size: 429 Bytes
Contents
module Authgasm # = Controller # Adds a before_filter to set the controller object so that Authgasm can do its session and cookie magic module Controller def self.included(klass) # :nodoc: klass.prepend_before_filter :set_controller end private def set_controller Authgasm::Session::Base.controller = self end end end ActionController::Base.send(:include, Authgasm::Controller)
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
authgasm-0.9.1 | lib/authgasm/controller.rb |
authgasm-0.9.0 | lib/authgasm/controller.rb |