On 11/30/2011 06:32 PM, ifarkas(a)redhat.com wrote:
From: Imre Farkas<ifarkas(a)redhat.com>
---
src/app/views/deployables/_new.html.haml | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/app/views/deployables/_new.html.haml
b/src/app/views/deployables/_new.html.haml
index 6206317..a1d1589 100644
--- a/src/app/views/deployables/_new.html.haml
+++ b/src/app/views/deployables/_new.html.haml
@@ -12,7 +12,7 @@
%li
= link_to t('catalog_entries.new.upload'),
new_catalog_deployable_path(@catalog), :id => "upload", :class =>
"#{'selected' if @form_option == 'upload'}"
%li
- = link_to t('catalog_entries.new.from_url'),
new_catalog_deployable_path_path(@catalog, :from_url => true), :id =>
"from_url", :class => "#{'selected' if @form_option ==
'from_url'}"
+ = link_to t('catalog_entries.new.from_url'),
new_catalog_deployable_path(@catalog, :from_url => true), :id =>
"from_url", :class => "#{'selected' if @form_option ==
'from_url'}"
.form_option
= render :partial => @form_option
@@ -24,7 +24,7 @@
var entry_description = read_description_field();
var $clicked_element = $(this)
ev.preventDefault();
- $.get('#{new_catalog_catalog_entry_url(@catalog)}', function(data){
+ $.get('#{new_catalog_deployable_url(@catalog)}', function(data){
change_selected($clicked_element, $('a#from_url'));
$('.form_option').empty();
$('.form_option').html(data).show();
@@ -37,7 +37,7 @@
var entry_description = read_description_field();
var $clicked_element = $(this)
ev.preventDefault();
- $.get('#{new_catalog_catalog_entry_url(@catalog, :from_url => true)}',
function(data){
+ $.get('#{new_catalog_deployable_url(@catalog, :from_url => true)}',
function(data){
change_selected($clicked_element, $("a#upload"));
$('.form_option').empty();
$('.form_option').html(data).show();
ACKed f2f with Tomas Hrcka