0
0
instrumental/app/controllers
Matt Jankowski f5cd138323 Improve i18n chooser (#1804)
* Add locale spec with failing locale plus region check

* Use a more accurate locale when supplied by browser headers

Previously we were using a matching option which would use the first locale
available which matched the locale portion, even if a region was specified.

This changes to first try to find an exact match, and then fall back to the
region, and then fall back to the  default.

* Clean up default_locale method
2017-04-15 01:12:39 +02:00
..
admin Admin reports controller improvements (#1714) 2017-04-14 11:10:28 +02:00
api API param to exclude notification types from response (#1341) 2017-04-10 23:45:29 +02:00
auth New admin setting: open/close registrations, with custom message, from the admin UI 2017-04-04 15:28:12 +02:00
concerns Improve i18n chooser (#1804) 2017-04-15 01:12:39 +02:00
oauth Fix #1165 - before_action was called before protect_from_forgery 2017-04-08 02:30:50 +02:00
settings Settings export refactor (#1646) 2017-04-13 13:02:02 +02:00
well_known Clean up well-known routes/controllers (#1649) 2017-04-13 13:09:07 +02:00
about_controller.rb Clean up about page (#1282) 2017-04-09 14:47:25 +02:00
accounts_controller.rb Pagination improvements (#1445) 2017-04-11 01:11:41 +02:00
api_controller.rb Do not store last visited URL from API controllers (#1330) 2017-04-09 22:21:52 +02:00
application_controller.rb Fix #1165 - before_action was called before protect_from_forgery 2017-04-08 02:30:50 +02:00
authorize_follow_controller.rb Add validation of media attachments, clean up mastodon-own exception classes 2017-02-26 23:23:06 +01:00
home_controller.rb Persist UI settings, add missing localizations for German 2017-01-09 14:00:55 +01:00
media_controller.rb Fix #416 - Generate random unique 14-byte (19 characters) shortcodes 2017-01-06 00:29:12 +01:00
remote_follow_controller.rb Clean up generation of account webfinger string (#1477) 2017-04-10 22:58:06 +02:00
statuses_controller.rb Prettier account and stream entry URLs 2017-03-22 19:55:14 +01:00
stream_entries_controller.rb Simplify the way the embed view is created (#1590) 2017-04-12 16:12:42 +02:00
tags_controller.rb Fix public tags page 2016-12-04 16:56:45 +01:00