Commit d54e2a0d872b0ab92cef8f3c84cac07bbd34e7fb
1 parent
bbc4e168
Exists in
master
and in
29 other branches
Remove debug statements left behind
Showing
1 changed file
with
0 additions
and
4 deletions
Show diff stats
app/helpers/profile_helper.rb
@@ -73,7 +73,6 @@ module ProfileHelper | @@ -73,7 +73,6 @@ module ProfileHelper | ||
73 | return '' | 73 | return '' |
74 | end | 74 | end |
75 | value = begin profile.send(field) rescue nil end | 75 | value = begin profile.send(field) rescue nil end |
76 | - p field | ||
77 | if !value.blank? | 76 | if !value.blank? |
78 | entries = multiple ? value : [] << value | 77 | entries = multiple ? value : [] << value |
79 | entries.map do |entry| | 78 | entries.map do |entry| |
@@ -98,7 +97,6 @@ module ProfileHelper | @@ -98,7 +97,6 @@ module ProfileHelper | ||
98 | end | 97 | end |
99 | 98 | ||
100 | def treat_date(date) | 99 | def treat_date(date) |
101 | - puts date.inspect | ||
102 | show_date(date.to_date) | 100 | show_date(date.to_date) |
103 | end | 101 | end |
104 | alias :treat_birth_date :treat_date | 102 | alias :treat_birth_date :treat_date |
@@ -133,12 +131,10 @@ module ProfileHelper | @@ -133,12 +131,10 @@ module ProfileHelper | ||
133 | end | 131 | end |
134 | 132 | ||
135 | def treat_blogs(blog) | 133 | def treat_blogs(blog) |
136 | - p blog | ||
137 | link_to(n_('One post', '%{num} posts', blog.posts.published.count) % { :num => blog.posts.published.count }, blog.url) | 134 | link_to(n_('One post', '%{num} posts', blog.posts.published.count) % { :num => blog.posts.published.count }, blog.url) |
138 | end | 135 | end |
139 | 136 | ||
140 | def treat_image_galleries(gallery) | 137 | def treat_image_galleries(gallery) |
141 | - p gallery | ||
142 | link_to(n_('One picture', '%{num} pictures', gallery.images.published.count) % { :num => gallery.images.published.count }, gallery.url) | 138 | link_to(n_('One picture', '%{num} pictures', gallery.images.published.count) % { :num => gallery.images.published.count }, gallery.url) |
143 | end | 139 | end |
144 | 140 |