From: Jozef Zigmund jzigmund@redhat.com
--- src/app/controllers/images_controller.rb | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/app/controllers/images_controller.rb b/src/app/controllers/images_controller.rb index 7c99906..a178596 100644 --- a/src/app/controllers/images_controller.rb +++ b/src/app/controllers/images_controller.rb @@ -103,7 +103,7 @@ class ImagesController < ApplicationController begin xml_source = RestClient.get(url, :accept => :xml) rescue RestClient::Exception, SocketError, URI::InvalidURIError - flash.now[:error] = t('template_xml.flash.error.invalid_url') + flash.now[:error] = t('images.flash.error.invalid_url') render :new and return end else
On Thursday 08 December 2011 15:55:30 jzigmund@redhat.com wrote:
From: Jozef Zigmund jzigmund@redhat.com
src/app/controllers/images_controller.rb | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/app/controllers/images_controller.rb b/src/app/controllers/images_controller.rb index 7c99906..a178596 100644 --- a/src/app/controllers/images_controller.rb +++ b/src/app/controllers/images_controller.rb @@ -103,7 +103,7 @@ class ImagesController < ApplicationController begin xml_source = RestClient.get(url, :accept => :xml) rescue RestClient::Exception, SocketError, URI::InvalidURIError
flash.now[:error] = t('template_xml.flash.error.invalid_url')
elseflash.now[:error] = t('images.flash.error.invalid_url') render :new and return end
Self ACKed & pushed.
aeolus-devel@lists.fedorahosted.org