This website works better with JavaScript.
Home
Explore
Help
Sign In
nekobus
/
mastodon_neko
forked from
closed-social/mastodon
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
Fix login sometimes redirecting to paths that are not pages (
#11019
)
Fix
#11016
master
Eugen Rochko
5 years ago
committed by
GitHub
parent
210fa3a94e
commit
8514ef723c
No known key found for this signature in database
GPG Key ID:
4AEE18F83AFDEB23
4 changed files
with
8 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
app/controllers/custom_css_controller.rb
+2
-0
app/controllers/manifests_controller.rb
+2
-0
app/controllers/media_controller.rb
+2
-0
app/controllers/media_proxy_controller.rb
+ 2
- 0
app/controllers/custom_css_controller.rb
View File
@ -1,6 +1,8 @@
# frozen_string_literal: true
class
CustomCssController
<
ApplicationController
skip_before_action
:store_current_location
before_action
:set_cache_headers
def
show
+ 2
- 0
app/controllers/manifests_controller.rb
View File
@ -1,6 +1,8 @@
# frozen_string_literal: true
class
ManifestsController
<
ApplicationController
skip_before_action
:store_current_location
def
show
render
json
:
InstancePresenter
.
new
,
serializer
:
ManifestSerializer
end
+ 2
- 0
app/controllers/media_controller.rb
View File
@ -3,6 +3,8 @@
class
MediaController
<
ApplicationController
include
Authorization
skip_before_action
:store_current_location
before_action
:set_media_attachment
before_action
:verify_permitted_status!
+ 2
- 0
app/controllers/media_proxy_controller.rb
View File
@ -3,6 +3,8 @@
class
MediaProxyController
<
ApplicationController
include
RoutingHelper
skip_before_action
:store_current_location
def
show
RedisLock
.
acquire
(
lock_options
)
do
|
lock
|
if
lock
.
acquired?
Write
Preview
Loading…
Cancel
Save