Skip to content

Upgrading to console rework

Petr Marek edited this page Mar 8, 2019 · 4 revisions

Replace Node with Page

Replace all occurances of Folio::Node (and Folio::Category, Folio::NodeTranslation) with Folio::Page.

Don't forget to check for model/controller decorators.

Update routes

If not using ancestry, use

scope '/:locale', locale: /en/ do
  resources :pages, only: [:show], path: ''
end