def close
begin
- if not request.put?
+ unless request.put?
render :nothing => true, :status => :method_not_allowed
return
end
end
def upload
- if not request.put?
+ unless request.put?
render :nothing => true, :status => :method_not_allowed
return
end