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

remove puts from photoscontroller

parent 4e419f7d
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -42,7 +42,6 @@ class PhotosController < ApplicationController ...@@ -42,7 +42,6 @@ class PhotosController < ApplicationController
end end
def create def create
@time = Benchmark.realtime do
begin begin
raise unless params[:photo][:aspect_ids] raise unless params[:photo][:aspect_ids]
...@@ -92,8 +91,6 @@ class PhotosController < ApplicationController ...@@ -92,8 +91,6 @@ class PhotosController < ApplicationController
respond_with @photo, :location => photos_path, :error => message respond_with @photo, :location => photos_path, :error => message
raise e raise e
end end
end
puts @time.inspect
end end
def make_profile_photo def make_profile_photo
......
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