decidim-pages/lib/decidim/pages/engine.rb in decidim-0.0.5 vs decidim-pages/lib/decidim/pages/engine.rb in decidim-0.0.6
- old
+ new
@@ -6,9 +6,10 @@
# process.
class Engine < ::Rails::Engine
isolate_namespace Decidim::Pages
routes do
+ resources :pages, only: [:show], controller: :application
root to: "application#show"
end
end
end
end