Commit 9dcfa5deff6ea36c4b139c4eaa9b1e47e141f68f

Authored by Daniela Feitosa
1 parent e7e132e7

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,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|
@@ -100,7 +99,6 @@ module ProfileHelper @@ -100,7 +99,6 @@ module ProfileHelper
100 end 99 end
101 100
102 def treat_date(date) 101 def treat_date(date)
103 - puts date.inspect  
104 show_date(date.to_date) 102 show_date(date.to_date)
105 end 103 end
106 alias :treat_birth_date :treat_date 104 alias :treat_birth_date :treat_date
@@ -135,12 +133,10 @@ module ProfileHelper @@ -135,12 +133,10 @@ module ProfileHelper
135 end 133 end
136 134
137 def treat_blogs(blog) 135 def treat_blogs(blog)
138 - p blog  
139 link_to(n_('One post', '%{num} posts', blog.posts.published.count) % { :num => blog.posts.published.count }, blog.url) 136 link_to(n_('One post', '%{num} posts', blog.posts.published.count) % { :num => blog.posts.published.count }, blog.url)
140 end 137 end
141 138
142 def treat_image_galleries(gallery) 139 def treat_image_galleries(gallery)
143 - p gallery  
144 link_to(n_('One picture', '%{num} pictures', gallery.images.published.count) % { :num => gallery.images.published.count }, gallery.url) 140 link_to(n_('One picture', '%{num} pictures', gallery.images.published.count) % { :num => gallery.images.published.count }, gallery.url)
145 end 141 end
146 142