Use the right keyword this time...
This commit is contained in:
parent
6442208841
commit
464c490cae
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ class UserPreferenceController < ApplicationController
|
|||
|
||||
# update the entire set of preferences
|
||||
def update
|
||||
do
|
||||
begin
|
||||
p = XML::Parser.string(request.raw_post)
|
||||
rescue LibXML::XML::Error, ArgumentError => ex
|
||||
raise OSM::APIBadXMLError.new("preferences", xml, ex.message)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue