Skip to content

Commit

Permalink
Fixed test errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergei Tsoganov authored and Sergei Tsoganov committed Sep 21, 2023
1 parent d4f7f43 commit 8a87f07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/application_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def set_locale
end

def store_location
session[:return_to] = request.referer.split('?').first
session[:return_to] = request.referer.split('?').first if request.referer
end

# If needed, add updated_by to the params hash. Updated by takes format of "123 - User Surname"
Expand Down

0 comments on commit 8a87f07

Please sign in to comment.