Fix #110 - Make web UI use browser history, change links in e-mails to link to that
This commit is contained in:
parent
c4eb63c1d4
commit
d42ed78aa4
10 changed files with 51 additions and 46 deletions
|
@ -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'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue