Updated store_location_for for redirecting after sign in
• Updated: - store_location_for for redirecting after sign in
This commit is contained in:
@@ -37,7 +37,7 @@ class ApplicationController < ActionController::Base
|
||||
end
|
||||
|
||||
def store_current_location
|
||||
store_location_for(:user, request.url) unless request.format == :json
|
||||
store_location_for(:user, request.url) if request.format == :html
|
||||
end
|
||||
|
||||
def require_admin!
|
||||
|
||||
Reference in New Issue
Block a user