0
0
Fork 0

Fix #110 - Make web UI use browser history, change links in e-mails to link to that

This commit is contained in:
Eugen Rochko 2016-11-13 14:01:21 +01:00
parent c4eb63c1d4
commit d42ed78aa4
10 changed files with 51 additions and 46 deletions

View file

@ -1,12 +1,10 @@
require 'sidekiq/web'
Rails.application.routes.draw do
get 'tags/show'
mount ActionCable.server => '/cable'
authenticate :user, lambda { |u| u.admin? } do
mount Sidekiq::Web => '/sidekiq'
mount Sidekiq::Web, at: 'sidekiq'
mount PgHero::Engine, at: 'pghero'
end
@ -99,6 +97,8 @@ Rails.application.routes.draw do
end
end
get '/web/*any', to: 'home#index', as: :web
get :about, to: 'about#index'
get :terms, to: 'about#terms'