Sha256: 6b4fb21668d53507f7d1c93f8d14b7fbc6485b02f8076763d8acc0c58b531dba

Contents?: true

Size: 297 Bytes

Versions: 15

Compression:

Stored size: 297 Bytes

Contents

module Locomotive
  module Wagon
    module Liquid
      module Drops

        class SessionProxy < ::Liquid::Drop

          def before_method(meth)
            request = @context.registers[:request]
            request.session[meth.to_sym]
          end

        end

      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
locomotivecms_wagon-1.5.8 lib/locomotive/wagon/liquid/drops/session_proxy.rb
locomotivecms_wagon-1.5.7 lib/locomotive/wagon/liquid/drops/session_proxy.rb
locomotivecms_wagon-1.5.6 lib/locomotive/wagon/liquid/drops/session_proxy.rb
locomotivecms_wagon-1.5.5 lib/locomotive/wagon/liquid/drops/session_proxy.rb
locomotivecms_wagon-1.5.4 lib/locomotive/wagon/liquid/drops/session_proxy.rb
locomotivecms_wagon-1.5.3 lib/locomotive/wagon/liquid/drops/session_proxy.rb
locomotivecms_wagon-1.5.2 lib/locomotive/wagon/liquid/drops/session_proxy.rb
locomotivecms_wagon-1.5.1 lib/locomotive/wagon/liquid/drops/session_proxy.rb
locomotivecms_wagon-1.5.0 lib/locomotive/wagon/liquid/drops/session_proxy.rb
locomotivecms_wagon-1.5.0.rc1 lib/locomotive/wagon/liquid/drops/session_proxy.rb
locomotivecms_wagon-1.4.0 lib/locomotive/wagon/liquid/drops/session_proxy.rb
locomotivecms_wagon-1.3.3 lib/locomotive/wagon/liquid/drops/session_proxy.rb
locomotivecms_wagon-1.3.2 lib/locomotive/wagon/liquid/drops/session_proxy.rb
locomotivecms_wagon-1.3.1 lib/locomotive/wagon/liquid/drops/session_proxy.rb
locomotivecms_wagon-1.3.0 lib/locomotive/wagon/liquid/drops/session_proxy.rb