Skip to content

Commit

Permalink
Bump JQuery Rails gem, and also use JQuery 3.
Browse files Browse the repository at this point in the history
JQuery Rails gem homepage states that if we're using Rails 5+ then jquery_ujs isn't required and hence has been removed
  • Loading branch information
minhngocd committed Aug 24, 2023
1 parent 852f0be commit 631bc50
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions app/assets/javascripts/govuk-admin-template.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//= require jquery
//= require jquery_ujs
//= require jquery3
//= require bootstrap
//= require govuk-admin-template/govuk-admin
//= require_tree ./govuk-admin-template/modules
Expand Down
2 changes: 1 addition & 1 deletion govuk_admin_template.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Gem::Specification.new do |gem|
gem.required_ruby_version = ">= 3.0"

gem.add_dependency "bootstrap-sass", "~> 3.4"
gem.add_dependency "jquery-rails", "~> 4.3"
gem.add_dependency "jquery-rails", "~> 4.4"
gem.add_dependency "plek", ">= 2.1"
gem.add_dependency "rails", ">= 6"

Expand Down

0 comments on commit 631bc50

Please sign in to comment.