* fix admin redirect
This commit is contained in:
parent
7ac51c7cbf
commit
18deb7b13a
|
|
@ -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/admin/buzzs')
|
||||
redirect_to('/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/admin/buzzs')
|
||||
redirect_to('/admin/buzzs')
|
||||
end
|
||||
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in New Issue