config/routes.rb in tramway-page-1.4.2 vs config/routes.rb in tramway-page-1.5
- old
+ new
@@ -1,5 +1,6 @@
# frozen_string_literal: true
Tramway::Page::Engine.routes.draw do
get '/:slug' => 'pages#show', as: :page
+ resources :previews, only: :show
end