parent
865c7e7178
commit
eb5b1b45d9
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue