diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-11-13 14:01:21 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-11-13 14:02:34 +0100 |
commit | d42ed78aa432e448346f2b9585ee983e08631ba0 (patch) | |
tree | 756f0c517e8f4036d34a2acc51ca9d0094a08b8e /config | |
parent | c4eb63c1d41c613ceacf668cd7d9443c4c823963 (diff) |
Fix #110 - Make web UI use browser history, change links in e-mails to link to that
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/config/routes.rb b/config/routes.rb index a19ccac50..176a4ccc8 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -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' |