VRFS-1037 reverted redirect path on create/update
This commit is contained in:
parent
479b05c67b
commit
fba4e53093
|
|
@ -47,7 +47,7 @@ ActiveAdmin.register JamRuby::PromoBuzz, :as => 'Buzz' do
|
|||
|
||||
def create
|
||||
promo = PromoBuzz.create_with_params(params[:jam_ruby_promo_buzz])
|
||||
redirect_to('/admin/buzzs')
|
||||
redirect_to('/admin/admin/buzzs')
|
||||
end
|
||||
|
||||
def edit
|
||||
|
|
@ -60,7 +60,7 @@ ActiveAdmin.register JamRuby::PromoBuzz, :as => 'Buzz' do
|
|||
|
||||
def update
|
||||
resource.update_with_params(params[:jam_ruby_promo_buzz]).save!
|
||||
redirect_to('/admin/buzzs')
|
||||
redirect_to('/admin/admin/buzzs')
|
||||
end
|
||||
|
||||
end
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ ActiveAdmin.register JamRuby::PromoLatest, :as => 'Latest' do
|
|||
|
||||
def create
|
||||
promo = PromoLatest.create_with_params(params[:jam_ruby_promo_latest])
|
||||
redirect_to('/admin/latests')
|
||||
redirect_to('/admin/admin/latests')
|
||||
end
|
||||
|
||||
def edit
|
||||
|
|
@ -48,7 +48,7 @@ ActiveAdmin.register JamRuby::PromoLatest, :as => 'Latest' do
|
|||
|
||||
def update
|
||||
resource.update_with_params(params[:jam_ruby_promo_latest]).save!
|
||||
redirect_to('/admin/latests')
|
||||
redirect_to('/admin/admin/latests')
|
||||
end
|
||||
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in New Issue