Skip to content
Extraits de code Groupes Projets
Valider 24ca1392 rédigé par maxwell's avatar maxwell
Parcourir les fichiers

MS remove some stray puts

parent 3b07596b
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -10,7 +10,6 @@ class PublicsController < ApplicationController ...@@ -10,7 +10,6 @@ class PublicsController < ApplicationController
def hcard def hcard
@person = Person.find_by_id params[:id] @person = Person.find_by_id params[:id]
puts @person
unless @person.nil? || @person.owner.nil? unless @person.nil? || @person.owner.nil?
render 'hcard' render 'hcard'
end end
...@@ -34,7 +33,6 @@ class PublicsController < ApplicationController ...@@ -34,7 +33,6 @@ class PublicsController < ApplicationController
return unless params[:xml] return unless params[:xml]
begin begin
person = Person.first(:id => params[:id]) person = Person.first(:id => params[:id])
puts person.real_name
@user = person.owner @user = person.owner
rescue NoMethodError => e rescue NoMethodError => e
Rails.logger.error("Received post for nonexistent person #{params[:id]}") Rails.logger.error("Received post for nonexistent person #{params[:id]}")
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
- content_for :page_title do - content_for :page_title do
= @person.real_name profile
- content_for :left_pane do - content_for :left_pane do
#profile #profile
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter