Solved Issue 1259
This commit is contained in:
parent
42741fa90b
commit
529b8eb710
4 changed files with 21 additions and 3 deletions
|
|
@ -1,3 +1,4 @@
|
|||
require "root_route_constraint"
|
||||
Osem::Application.routes.draw do
|
||||
|
||||
if ENV['OSEM_ICHAIN_ENABLED'] == 'true'
|
||||
|
|
@ -147,6 +148,8 @@ Osem::Application.routes.draw do
|
|||
end
|
||||
|
||||
get '/admin' => redirect('/admin/conferences')
|
||||
|
||||
constraints RootRouteConstraint.new do
|
||||
get '/' => 'conferences#current'
|
||||
end
|
||||
root to: 'conferences#index', via: [:get, :options]
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue