Should close Issue 368
This commit is contained in:
parent
4341b85a12
commit
65958cf85c
1 changed files with 1 additions and 1 deletions
|
|
@ -33,7 +33,7 @@ class RequestsController < ApplicationController
|
|||
aspect = current_user.aspect_by_id(params[:request][:aspect_id])
|
||||
|
||||
begin
|
||||
rel_hash = relationship_flow(params[:request][:destination_url].strip!)
|
||||
rel_hash = relationship_flow(params[:request][:destination_url].strip)
|
||||
rescue Exception => e
|
||||
raise e unless e.message.include? "not found"
|
||||
flash[:error] = I18n.t 'requests.create.error'
|
||||
|
|
|
|||
Loading…
Reference in a new issue