FIX: linking to house ads URLs shows not found error page

This commit is contained in:
Neil Lalonde
2019-05-07 14:32:32 -04:00
parent d9d7f4c8f4
commit cdc14398ba
3 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ after_initialize do
AdPlugin::Engine.routes.draw do
root to: 'house_ads#index'
resources :house_ads, only: [:index, :create, :update, :destroy]
resources :house_ads, only: [:index, :show, :create, :update, :destroy]
resources :house_ad_settings, only: [:update]
end