app/controllers/lentil/photographers_controller.rb in lentil-0.9.1 vs app/controllers/lentil/photographers_controller.rb in lentil-1.0.0
- old
+ new
@@ -10,11 +10,11 @@
if @images.empty?
head :internal_server_error
else
- @photographer = @images.find(:first).user
+ @photographer = @images.first!.user
@title = @photographer.user_name + " - Photographers"
end
end
end
-end
\ No newline at end of file
+end