add pdf viewer and test doemal

This commit is contained in:
Yan
2018-04-18 14:17:37 +06:30
parent 6889c879ec
commit c22fc3e86e
7 changed files with 26 additions and 7 deletions

View File

@@ -6,6 +6,8 @@ scope "(:locale)", locale: /en|mm/ do
root 'home#index'
mount Sidekiq::Web => '/kiq'
mount PdfjsViewer::Rails::Engine => "/pdfjs", as: 'pdfjs'
# Action Cable Creation
# if ENV["SERVER_MODE"] != "cloud"
mount ActionCable.server => "/cable"