Permalink
Browse files

Add Cloudinary as Rails::Engine to allow asset pipeline to find it.

  • Loading branch information...
1 parent a03f3a9 commit 65a9267b5d1c512b495d3bb36bad4355b16b2174 @TalLevAmi TalLevAmi committed Jul 5, 2012
Showing with 3 additions and 0 deletions.
  1. +1 −0 lib/cloudinary.rb
  2. +2 −0 lib/cloudinary/engine.rb
View
@@ -14,6 +14,7 @@
require "cloudinary/helper" if defined?(::ActionView::Base)
require "cloudinary/controller" if defined?(::ActionController::Base)
require "cloudinary/railtie" if defined?(Rails) && defined?(Rails::Railtie)
+require "cloudinary/engine" if defined?(Rails) && defined?(Rails::Engine)
module Cloudinary
@@config = nil
View
@@ -0,0 +1,2 @@
+class Cloudinary::Engine < Rails::Engine
+end

0 comments on commit 65a9267

Please sign in to comment.