lib/paperclip/storage/imgur.rb in paperclip-imgur-0.1.0 vs lib/paperclip/storage/imgur.rb in paperclip-imgur-0.1.1

- old
+ new

@@ -81,10 +81,10 @@ end private def imgur_session - @imgur_session ||= ::Imgur::Session.new(@imgur_credentials) + @imgur_session ||= ::Imgur::Session.instance(@imgur_credentials) end def parse_credentials(credentials = nil) if credentials.nil? && defined?(Rails) credentials = "#{Rails.root}/config/imgur.yml"