Sha256: 0a73c3a312d04a4ca266eabee03a2a3e11b93a2f280861b1da024d1ed739cda8

Contents?: true

Size: 285 Bytes

Versions: 9

Compression:

Stored size: 285 Bytes

Contents

# encoding: utf-8

require "pupu"
require "pupu/helpers"

Pupu.framework = :rails

def Pupu.environment
  Rails.environment
end

def Pupu.logger
  Rails.logger
end

Pupu.root = Rails.root
Pupu.media_root = File.join(Rails.root, "public")
ActionView::Base.send(:include, Pupu::Helpers)

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
pupu-0.2.1 lib/pupu/adapters/rails.rb
pupu-0.2 lib/pupu/adapters/rails.rb
pupu-0.1 lib/pupu/adapters/rails.rb
pupu-0.0.5.5 lib/pupu/adapters/rails.rb
pupu-0.0.5.4 lib/pupu/adapters/rails.rb
pupu-0.0.5.3 lib/pupu/adapters/rails.rb
pupu-0.0.5.2 lib/pupu/adapters/rails.rb
pupu-0.0.5.1 lib/pupu/adapters/rails.rb
pupu-0.0.5 lib/pupu/adapters/rails.rb