Class: TelegramChatbot::TelegramBotsController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- ApplicationController
- TelegramChatbot::TelegramBotsController
- Defined in:
- app/controllers/telegram_chatbot/telegram_bots_controller.rb
Instance Method Summary collapse
Instance Method Details
#help ⇒ Object
18 19 |
# File 'app/controllers/telegram_chatbot/telegram_bots_controller.rb', line 18 def help end |
#show ⇒ Object
7 8 |
# File 'app/controllers/telegram_chatbot/telegram_bots_controller.rb', line 7 def show end |
#upsert ⇒ Object
10 11 12 13 14 15 16 |
# File 'app/controllers/telegram_chatbot/telegram_bots_controller.rb', line 10 def upsert if @telegram_bot.update(bot_params) redirect_to telegram_bots_url else render :show end end |