README.md in tkh_content-0.0.3 vs README.md in tkh_content-0.0.3.1
- old
+ new
@@ -31,9 +31,15 @@
$ rake tkh_content:install
Run the migration
$ rake db:migrate
+
+Add these 3 lines to the bottom of your routes file, just before the final end statement
+
+ scope "(:locale)", locale: /#{I18n.available_locales.join("|")}/ do
+ resources :pages, only: :show, path: ''
+ end
And then of course restart your server!
$ rails s