config/routes.rb in disco_app-0.8.9 vs config/routes.rb in disco_app-0.9.0
- old
+ new
@@ -24,14 +24,16 @@
get 'admin', to: redirect('/admin/shops')
get 'admin/shops' => 'admin/shops#index'
end
namespace :admin do
- resources :shops, only: [:index, :edit, :update]
+ resources :shops, only: [:index, :edit, :update] do
+ resources :subscriptions, only: [:edit, :update]
+ end
resources :plans
resource :app_settings, only: [:edit, :update]
- # JSON-API resources for admins."
+ # JSON-API resources for admins.
namespace :resources do
jsonapi_resources :shops
end
end