projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
279ab7f
)
force changeset id to be an int so we don't have a table scan
author
Richard Fairhurst
<richard@systemed.net>
Wed, 3 Feb 2010 16:50:39 +0000
(16:50 +0000)
committer
Richard Fairhurst
<richard@systemed.net>
Wed, 3 Feb 2010 16:50:39 +0000
(16:50 +0000)
app/controllers/amf_controller.rb
patch
|
blob
|
history
diff --git
a/app/controllers/amf_controller.rb
b/app/controllers/amf_controller.rb
index 2aac00d5ed81326736671c0c3bb2073afe97b695..e3ee92ff019428227523396a8e2432651f3f1427 100644
(file)
--- a/
app/controllers/amf_controller.rb
+++ b/
app/controllers/amf_controller.rb
@@
-187,7
+187,7
@@
class AmfController < ApplicationController
# close previous changeset and add comment
if closeid
- cs = Changeset.find(closeid)
+ cs = Changeset.find(closeid
.to_i
)
cs.set_closed_time_now
if cs.user_id!=user.id
raise OSM::APIUserChangesetMismatchError.new