Project

General

Profile

Bug #2863 » hosts_escalation.patch

Marek Hulán, 07/30/2013 10:44 AM

View differences:

app/controllers/api/v1/hosts_controller.rb
@host.request_url = request.host_with_port if @host.respond_to?(:request_url)
end
# we need to limit resources for a current user
def resource_class
super.my_hosts
end
end
end
end
(1-1/7)