mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
parent
90f12f2e5a
commit
d8bc64bb09
@ -35,7 +35,7 @@ class ApplicationController < ActionController::Base
|
||||
end
|
||||
|
||||
def store_current_location
|
||||
store_location_for(:user, request.url)
|
||||
store_location_for(:user, request.url) unless request.format == :json
|
||||
end
|
||||
|
||||
def require_admin!
|
||||
|
Loading…
Reference in New Issue
Block a user