Skip to content

Commit

Permalink
bundle update rack from 2 to 3
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanTG committed Sep 15, 2024
1 parent e50404b commit 9bab54a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ gem 'paper_trail'
gem 'paper_trail-association_tracking'
gem 'phonelib'
gem 'puma'
gem 'rack', '~> 2.2.9'
gem 'rack'
gem 'rack-attack'
gem 'rails_admin'
gem 'rails_autolink'
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,7 @@ DEPENDENCIES
phonelib
pry
puma
rack (~> 2.2.9)
rack
rack-attack
rails (~> 7.2.x)
rails-controller-testing
Expand Down
2 changes: 1 addition & 1 deletion app/assets/javascripts/application.js.erb
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ function initSearch(userFaved, operatorIDs, locationIDs, locationTypeIDs, zoneID
return;
}

var url = '/locations?user_faved=' + userFaved + ';by_location_id=' + locationIDs + ';by_operator_id=' + operatorIDs + ';by_type_id=' + locationTypeIDs + ';by_zone_id=' + zoneIDs + ';by_machine_id=' + machineIDs + ';by_machine_single_id=' + machineID + ';by_city_id=' + cityName + ';by_machine_group_id=' + machineGroupId + ';by_ipdb_id=' + ipdbIDs + ';by_opdb_id=' + opdbIDs + ';show_location_distance=' + showLocationDistance + ';lat=' + lat + ';lon=' + lon + ';by_at_least_n_machines_city=' + byAtLeastNMachinesCity + ';by_at_least_n_machines_type=' + byAtLeastNMachinesType + ';by_at_least_n_machines_zone=' + byAtLeastNMachinesZone + ';region=' + region;
var url = `/locations?user_faved=${userFaved};by_location_id=${locationIDs};by_operator_id=${operatorIDs};by_type_id=${locationTypeIDs};by_zone_id=${zoneIDs};by_machine_id=${machineIDs};by_machine_single_id=${machineID};by_city_id=${cityName};by_machine_group_id=${machineGroupId};by_ipdb_id=${ipdbIDs};by_opdb_id=${opdbIDs};show_location_distance=${showLocationDistance};lat=${lat};lon=${lon};by_at_least_n_machines_city=${byAtLeastNMachinesCity};by_at_least_n_machines_type=${byAtLeastNMachinesType};by_at_least_n_machines_zone=${byAtLeastNMachinesZone};region=${region}`

$('#locations').html(loadingHTML());
$.get(url, function (data) {
Expand Down
2 changes: 1 addition & 1 deletion config/initializers/assets.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# Precompile additional assets.
# application.js, application.css, and all non-JS/CSS in the app/assets
# folder are already added.
# Rails.application.config.assets.precompile += %w[] admin.js admin.css ]
# Rails.application.config.assets.precompile += %w[ admin.js admin.css ]
if Rails.env.development?
Sprockets.export_concurrent = false
end

0 comments on commit 9bab54a

Please sign in to comment.