config/routes.rb in workarea-klarna-1.0.0 vs config/routes.rb in workarea-klarna-1.1.0.beta1
- old
+ new
@@ -1,3 +1,6 @@
-Rails.application.routes.draw do
+Workarea::Storefront::Engine.routes.draw do
+ scope '(:locale)', constraints: Workarea::I18n.routes_constraint do
+ get 'klarna', to: 'pages#klarna'
+ end
end