Sha256: 6153a84ab2addf38426db2c41184ef471a96d798220ff87093fd4fcd29805f6b

Contents?: true

Size: 394 Bytes

Versions: 8

Compression:

Stored size: 394 Bytes

Contents

module Barista
  module Integration
    module Rails2
      
      def self.setup
        ActionController::Dispatcher.middleware.tap do |middleware|
          middleware.use Barista::Filter if Barista.add_filter?
          middleware.use Barista::Server::Proxy
        end
        Barista.setup_defaults
        ActionController::Base.helper Barista::Helpers
      end
      
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
barista-1.3.0 lib/barista/integration/rails2.rb
barista-1.2.1 lib/barista/integration/rails2.rb
barista-1.2.0 lib/barista/integration/rails2.rb
barista-1.1.0 lib/barista/integration/rails2.rb
barista-1.1.0.pre1 lib/barista/integration/rails2.rb
barista-1.0.0 lib/barista/integration/rails2.rb
barista-0.7.0.pre3 lib/barista/integration/rails2.rb
barista-0.7.0.pre2 lib/barista/integration/rails2.rb