I cannot figure out why this isn't working. Where am i wrong?
**Routes.rb**
scope "/:country_prefix", :country_prefix => /uk|finland/, defaults: { locale: I18n.default_locale } do
localized do
root :to => 'home#index', :as => :home
end
end
**en.yml**
en:
named_routes_path:
home_path: this-is-my-homepage