remove mongomapper error handler in photos_controller#create

This commit is contained in:
maxwell 2011-02-22 22:02:58 -08:00
parent ec21230756
commit 5bce2d1615

View file

@ -56,8 +56,6 @@ class PhotosController < ApplicationController
@photo = current_user.build_post(:photo, params[:photo])
if @photo.save
raise 'MongoMapper failed to catch a failed save' unless @photo.id
aspects = current_user.aspects_from_ids(params[:photo][:aspect_ids])