Change ad_banner preview from using title to id
This commit is contained in:
1 parent
72921d6dfd
commit
7f285f4719
5 files changed
+23
-23
No files matched your search
+1
-1
@@ -25,7 +25,7 @@ Orbit::Application.routes.draw do
|
||||
end
|
||||
|
||||
|
||||
match 'ad_banner/:title/preview' => 'ad_banners#realtime_preview',:as => :realtime_preview_ad_banner,:via => :put
|
||||
match 'ad_banner/:id/preview' => 'ad_banners#realtime_preview',:as => :realtime_preview_ad_banner,:via => :put
|
||||
resources :ad_banners do
|
||||
collection do
|
||||
match 'new_ad_image' => 'ad_images#new',:as => :new_ad_image,:via => :get
|
||||
|
||||
Reference in new issue
Block a user