Sha256: fc6c6cbf60618c3df0b0b4c9c77ea4b479b2e589cc4bd5c23b8afe515e72371f

Contents?: true

Size: 333 Bytes

Versions: 2

Compression:

Stored size: 333 Bytes

Contents

# coding: utf-8

module UzuUzu
  module Controller
    autoload(:Error, 'uzuuzu/controller/error')
    
    def self.current
      Thread.current[:controller]
    end
    
    def self.before_all
      ::UzuUzu.logger.debug ::UzuUzu::Request.current.params
    end
    
    def self.after_all
    end
  end # Controller
end # UzuUzu

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
uzuuzu-core-0.0.12 lib/uzuuzu/controller.rb
uzuuzu-core-0.0.10 lib/uzuuzu/controller.rb