Skip to content

Commit

Permalink
Add Cloudinary as Rails::Engine to allow asset pipeline to find it.
Browse files Browse the repository at this point in the history
  • Loading branch information
TalLevAmi committed Jul 5, 2012
1 parent a03f3a9 commit 65a9267
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/cloudinary.rb
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions lib/cloudinary/engine.rb
@@ -0,0 +1,2 @@
class Cloudinary::Engine < Rails::Engine
end

0 comments on commit 65a9267

Please sign in to comment.