1
0
зеркало из https://github.com/glebtv/telegram-bot.git synced 2026-09-07 11:25:52 +03:00

Drop .context_handler, .context_to_action! methods

Этот коммит содержится в:
Max Melentiev
2018-05-28 18:41:40 +03:00
родитель 9310fa613b
Коммит 6dd705fe89
5 изменённых файлов: 77 добавлений и 132 удалений

Просмотреть файл

@@ -12,6 +12,9 @@
- `: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.
- __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.
# 0.13.1