Commit 9dcfa5deff6ea36c4b139c4eaa9b1e47e141f68f
1 parent
e7e132e7
Exists in
master
and in
29 other branches
Removed debug lines
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 | 73 | return '' |
74 | 74 | end |
75 | 75 | value = begin profile.send(field) rescue nil end |
76 | - p field | |
77 | 76 | if !value.blank? |
78 | 77 | entries = multiple ? value : [] << value |
79 | 78 | entries.map do |entry| |
... | ... | @@ -100,7 +99,6 @@ module ProfileHelper |
100 | 99 | end |
101 | 100 | |
102 | 101 | def treat_date(date) |
103 | - puts date.inspect | |
104 | 102 | show_date(date.to_date) |
105 | 103 | end |
106 | 104 | alias :treat_birth_date :treat_date |
... | ... | @@ -135,12 +133,10 @@ module ProfileHelper |
135 | 133 | end |
136 | 134 | |
137 | 135 | def treat_blogs(blog) |
138 | - p blog | |
139 | 136 | link_to(n_('One post', '%{num} posts', blog.posts.published.count) % { :num => blog.posts.published.count }, blog.url) |
140 | 137 | end |
141 | 138 | |
142 | 139 | def treat_image_galleries(gallery) |
143 | - p gallery | |
144 | 140 | link_to(n_('One picture', '%{num} pictures', gallery.images.published.count) % { :num => gallery.images.published.count }, gallery.url) |
145 | 141 | end |
146 | 142 | ... | ... |