This website works better with JavaScript.
Home
Explore
Help
Sign In
closed-social
/
mastodon
Watch
3
Star
0
Fork
2
Code
Issues
5
Pull Requests
0
Projects
0
Releases
3
Wiki
Activity
Browse Source
Fix
#3189
- Share CSRF secret between main app and Sidekiq Web (
#4383
)
pull/4/head
Eugen Rochko
6 years ago
committed by
GitHub
parent
e54cc15cbd
commit
6270f9ce34
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
config/routes.rb
+ 2
- 0
config/routes.rb
View File
@ -3,6 +3,8 @@
require
'sidekiq/web'
require
'sidekiq-scheduler/web'
Sidekiq
::
Web
.
set
:session_secret
,
Rails
.
application
.
secrets
[
:secret_key_base
]
Rails
.
application
.
routes
.
draw
do
mount
LetterOpenerWeb
::
Engine
,
at
:
'letter_opener'
if
Rails
.
env
.
development?
Write
Preview
Loading…
Cancel
Save