mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-16 21:24:05 +00:00
Merge e16b17c76d into 892b5bf729
This commit is contained in:
commit
fa69b7dc56
1 changed files with 4 additions and 2 deletions
|
|
@ -1,6 +1,8 @@
|
|||
Osem::Application.routes.draw do
|
||||
mount LetterOpenerWeb::Engine, at: '/letter_opener' if Rails.env.development?
|
||||
|
||||
if Rails.env.development? && defined?(LetterOpenerWeb)
|
||||
mount LetterOpenerWeb::Engine, at: '/letter_opener'
|
||||
end
|
||||
|
||||
constraints DomainConstraint do
|
||||
get '/', to: 'conferences#show'
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue