Closed georgesve closed 1 week ago
Admin path is /(:locale)/blog/admin Frontend path is /blog/(:locale)/slug
Admin path should be /(:locale)/blog/admin Frontend path should be /(:locale)/blog/slug
Spina.rb
Spina.configure do |config| config.locales = [:fr, :en] end
routes.rb
scope "(:locale)", locale: /#{I18n.available_locales.join("|")}/ do mount Spina::Engine => '/blog' end
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Current behaviour :
Admin path is /(:locale)/blog/admin Frontend path is /blog/(:locale)/slug
Expected behaviour:
Admin path should be /(:locale)/blog/admin Frontend path should be /(:locale)/blog/slug
Current configuration :
Spina.rb
routes.rb