* fix admin redirect

This commit is contained in:
Daniel Weigh 2014-02-14 01:01:09 -05:00
parent b704186e9a
commit 5d8fac92c6
1 changed files with 2 additions and 2 deletions

View File

@ -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/admin/latests')
redirect_to('/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/admin/latests')
redirect_to('/admin/latests')
end
end