Sha256: 9030c6382a82a7938e929b86d9bcdd33575a4f026b59717b1038db7f5de6a14b

Contents?: true

Size: 269 Bytes

Versions: 2

Compression:

Stored size: 269 Bytes

Contents

TelegramChatbot::Engine.routes.draw do
  root 'telegram_bots#show'

  resource :telegram_bots, only: [:show], path: '/bot' do
    put :upsert, on: :collection
    get :help, on: :collection
  end

  # Telegram
  telegram_webhook TelegramChatbot::WebhooksController
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
telegram_chatbot-0.1.3 config/routes.rb
telegram_chatbot-0.1.1 config/routes.rb