Go to file
songtianlun 926ba18e85 refactor: change locale handling to around_action
- Update set_locale method to use around_action instead of before_action.
- Modify locale extraction logic to handle more cases, ensuring better fallback handling.
- Improve overall method clarity and maintainability by restructuring code.

This change enhances the localization process by providing a clearer
way to manage locale settings and ensures that it correctly falls back
to the default locale when necessary. It also resolves some edge cases
in locale extraction based on the HTTP_ACCEPT_LANGUAGE header.
2025-02-22 15:00:22 +08:00
.github chore: rename docker workflows and clean up city seeds 2025-02-21 10:02:36 +08:00
.kamal init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
app refactor: change locale handling to around_action 2025-02-22 15:00:22 +08:00
bin init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
config feat: update sitemap generation for multiple locales 2025-02-22 12:08:59 +08:00
db chore: rename docker workflows and clean up city seeds 2025-02-21 10:02:36 +08:00
lib feat: add translatable name module for countries and regions 2025-02-21 23:46:25 +08:00
log init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
public feat: update art listings in home controller 2025-02-17 14:38:29 +08:00
script init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
storage init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
test feat: add RSS feed functionality 2025-02-19 17:38:49 +08:00
tmp init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
vendor init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
.dockerignore init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
.gitattributes init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
.gitignore refactor: Update sitemap configuration to support a new host name 2025-02-17 00:27:44 +08:00
.node-version init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
.rubocop.yml init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
.ruby-version feat: add translatable name module for countries and regions 2025-02-21 23:46:25 +08:00
compose.yaml chore: update docker compose file 2025-01-23 17:44:03 +08:00
config.ru init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
Dockerfile chore: update dependencies in Dockerfile and Gemfile 2025-02-05 14:53:54 +08:00
Gemfile feat: add RSS feed functionality 2025-02-19 17:38:49 +08:00
Gemfile.lock feat: add RSS feed functionality 2025-02-19 17:38:49 +08:00
package.json feat: implement social sharing functionality 2025-02-16 11:58:25 +08:00
Procfile.dev init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
Rakefile init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
README.md init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
tailwind.config.js style: improve footer layout and text labels 2025-02-14 10:27:26 +08:00
yarn.lock feat: implement social sharing functionality 2025-02-16 11:58:25 +08:00

README

This README would normally document whatever steps are necessary to get the application up and running.

Things you may want to cover:

  • Ruby version

  • System dependencies

  • Configuration

  • Database creation

  • Database initialization

  • How to run the test suite

  • Services (job queues, cache servers, search engines, etc.)

  • Deployment instructions

  • ...