Page slide does not reload from server for ad_banner
This commit is contained in:
1 parent
92d2af13f2
commit
fea86ba3a9
26 files changed
+254
-3007
No files matched your search
@@ -36,7 +36,7 @@ class Admin::AdBannersController < OrbitBackendController
|
||||
def update
|
||||
@ad_banner = AdBanner.find(params[:id])
|
||||
if @ad_banner.update_attributes(params[:ad_banner])
|
||||
redirect_to admin_ad_banners_url
|
||||
redirect_to admin_ad_banners_url, :status => 303
|
||||
else
|
||||
render :edit
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user