зеркало из
https://github.com/glebtv/telegram-bot.git
synced 2026-09-08 03:45:52 +03:00
Translation helper strips ! from action name for lazy translations
Этот коммит содержится в:
@@ -12,6 +12,7 @@
|
||||
- `:telegram_bot` rspec tag is replaced with `telegram_bot: :rails`.
|
||||
- __Breaking change__. Use bang-methods as actions for commands.
|
||||
This prevents calling context contextual actions and payload specific actions with commands.
|
||||
Translation helper strips `!` from action name for lazy translations.
|
||||
- __Breaking change__. Drop `.context_handler`, `.context_to_action!` methods.
|
||||
Use pass action name directly to `#save_context`.
|
||||
It's the same as `.context_to_action!` is enabled by default.
|
||||
|
||||
Ссылка в новой задаче
Block a user