[Internal] Add route for widget testing (#199)

This commit is contained in:
Pranav Raj S
2019-11-01 12:53:01 +05:30
committed by Sojan Jose
parent f3fc542a5f
commit 5cc3543657
7 changed files with 58 additions and 10 deletions

View File

@@ -88,4 +88,7 @@ Rails.application.routes.draw do
mount Facebook::Messenger::Server, at: 'bot'
post '/webhooks/telegram/:account_id/:inbox_id' => 'home#telegram'
# Routes for testing
resources :widget_tests, only: [:index] unless Rails.env.production?
end