projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
244af65
)
Treat an explicit public=0 argument as meaning private.
author
Tom Hughes
<tom@compton.nu>
Sat, 12 Sep 2009 16:46:25 +0000
(16:46 +0000)
committer
Tom Hughes
<tom@compton.nu>
Sat, 12 Sep 2009 16:46:25 +0000
(16:46 +0000)
app/controllers/trace_controller.rb
patch
|
blob
|
history
diff --git
a/app/controllers/trace_controller.rb
b/app/controllers/trace_controller.rb
index 51e7f9b834c53e8544dbf6030d33f964a0e8ddce..b29b6dde1b0e06fd8fbeca14b2483d167715da03 100644
(file)
--- a/
app/controllers/trace_controller.rb
+++ b/
app/controllers/trace_controller.rb
@@
-296,7
+296,7
@@
class TraceController < ApplicationController
visibility = params[:visibility]
if visibility.nil?
- if params[:public]
+ if params[:public]
&& params[:public].to_i.nonzero?
visibility = "public"
else
visibility = "private"