Should close Issue 368

This commit is contained in:
Raphael 2010-10-14 15:53:43 -07:00
parent 4341b85a12
commit 65958cf85c

View file

@ -33,7 +33,7 @@ class RequestsController < ApplicationController
aspect = current_user.aspect_by_id(params[:request][:aspect_id]) aspect = current_user.aspect_by_id(params[:request][:aspect_id])
begin begin
rel_hash = relationship_flow(params[:request][:destination_url].strip!) rel_hash = relationship_flow(params[:request][:destination_url].strip)
rescue Exception => e rescue Exception => e
raise e unless e.message.include? "not found" raise e unless e.message.include? "not found"
flash[:error] = I18n.t 'requests.create.error' flash[:error] = I18n.t 'requests.create.error'