Skip to content

Commit

Permalink
Merge pull request #3865 from brchristian/canonical
Browse files Browse the repository at this point in the history
Update canonical-rails syntax for latest version
  • Loading branch information
kennyadsl committed Jan 7, 2021
2 parents c7025ee + bf9461a commit 14f43d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/config/initializers/canonical_rails.rb
Expand Up @@ -12,5 +12,5 @@
# Parameter spamming can cause index dilution by creating seemingly different URLs with identical or near-identical content.
# Unless whitelisted, these parameters will be omitted

config.whitelisted_parameters = [:keywords, :page, :search, :taxon]
config.allowed_parameters = [:keywords, :page, :search, :taxon]
end
2 changes: 1 addition & 1 deletion frontend/solidus_frontend.gemspec
Expand Up @@ -24,7 +24,7 @@ Gem::Specification.new do |s|
s.add_dependency 'solidus_api', s.version
s.add_dependency 'solidus_core', s.version

s.add_dependency 'canonical-rails', '~> 0.2.0'
s.add_dependency 'canonical-rails', '~> 0.2.10'
s.add_dependency 'font-awesome-rails', '~> 4.0'
s.add_dependency 'jquery-rails'
s.add_dependency 'kaminari', '~> 1.1'
Expand Down

0 comments on commit 14f43d8

Please sign in to comment.