Sha256: d4da0537bdf71ffec024adaf78da9c3c48277ea002de34902b7bd9e0936763ac

Contents?: true

Size: 393 Bytes

Versions: 16

Compression:

Stored size: 393 Bytes

Contents

class Cloudinary::Railtie < Rails::Railtie
  rake_tasks do
    Dir[File.join(File.dirname(__FILE__),'../tasks/**/*.rake')].each { |f| load f }
  end
  config.after_initialize do |app|
    ActionView::Base.send :include, CloudinaryHelper
  end

  ActiveSupport.on_load(:action_controller_base) do
    ActionController::Base.send :include, Cloudinary::CloudinaryController
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
cloudinary-1.28.0 lib/cloudinary/railtie.rb
cloudinary-1.27.0 lib/cloudinary/railtie.rb
cloudinary-1.26.0 lib/cloudinary/railtie.rb
cloudinary-1.25.0 lib/cloudinary/railtie.rb
cloudinary-1.24.0 lib/cloudinary/railtie.rb
cloudinary-1.23.0 lib/cloudinary/railtie.rb
cloudinary-1.22.0 lib/cloudinary/railtie.rb
cloudinary-1.21.0 lib/cloudinary/railtie.rb
cloudinary-1.20.0 lib/cloudinary/railtie.rb
cloudinary-1.19.0 lib/cloudinary/railtie.rb
cloudinary-1.18.1 lib/cloudinary/railtie.rb
cloudinary-1.18.0 lib/cloudinary/railtie.rb
cloudinary-1.17.1 lib/cloudinary/railtie.rb
cloudinary-1.17.0 lib/cloudinary/railtie.rb
cloudinary-1.16.1 lib/cloudinary/railtie.rb
cloudinary-1.16.0 lib/cloudinary/railtie.rb