On Thu, Oct 20, 2011 at 02:35:34PM -0400, Chris Alfonso wrote:
---
src/app/controllers/catalog_entries_controller.rb | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/app/controllers/catalog_entries_controller.rb
b/src/app/controllers/catalog_entries_controller.rb
index ab6c188..5e36cc0 100644
--- a/src/app/controllers/catalog_entries_controller.rb
+++ b/src/app/controllers/catalog_entries_controller.rb
@@ -67,7 +67,7 @@ class CatalogEntriesController < ApplicationController
if @catalog_entry.save
flash[:notice] = t "catalog_entries.flash.notice.added"
flash[:warning] = t("catalog_entries.flash.warning.not_valid") unless
@catalog_entry.accessible_and_valid_deployable_xml?((a)catalog_entry.url)
- redirect_to catalog_entries_path
+ redirect_to catalog_catalog_entries_path(@catalog)
else
load_catalogs
render :new
ACK! The two failing cucumber tests also fail on master, so this
introduces no regressions. (And fixes an annoying bug.)
-- Matt