Commit cb5625359968adb78a74866c530d8ae8493ae16f

Authored by Victor Costa
2 parents 84abea58 bd79f9e2

Merge branch 'stable' of gitlab.com:participa/noosfero into stable

Showing 1 changed file with 4 additions and 0 deletions   Show diff stats
plugins/dspace/lib/dspace/resource.rb
1 1 class Dspace::Resource < ActiveResource::Base
2 2  
3 3 class << self
  4 + def proxy
  5 + ENV['HTTPS_PROXY'] ||= nil
  6 + end
  7 +
4 8 def element_path(id, prefix_options = {}, query_options = nil)
5 9 prefix_options, query_options = split_options(prefix_options) if query_options.nil?
6 10 "#{prefix(prefix_options)}#{collection_name}/#{id}#{query_string(query_options)}"
... ...