projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbeccba
)
User.consider_pd is boolean, so no need for double negation.
author
Andy Allan
<git@gravitystorm.co.uk>
Wed, 7 Sep 2016 09:59:00 +0000
(10:59 +0100)
committer
Andy Allan
<git@gravitystorm.co.uk>
Wed, 7 Sep 2016 09:59:00 +0000
(10:59 +0100)
app/views/user/api_read.builder
patch
|
blob
|
history
diff --git
a/app/views/user/api_read.builder
b/app/views/user/api_read.builder
index e976954206f08fe892c2405ecc492fdc7fdc22c8..2b304f53ca2e618efa45a2a887c9eb6c831c9339 100644
(file)
--- a/
app/views/user/api_read.builder
+++ b/
app/views/user/api_read.builder
@@
-8,7
+8,7
@@
xml.osm("version" => API_VERSION, "generator" => GENERATOR) do
end
if @user && @user == @this_user
xml.tag! "contributor-terms", :agreed => !!@this_user.terms_agreed,
- :pd =>
!!
@this_user.consider_pd
+ :pd => @this_user.consider_pd
else
xml.tag! "contributor-terms", :agreed => !!@this_user.terms_agreed
end