Skip to content

Commit

Permalink
fixup! WIP Remove locale as a url parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
gbp committed Jan 12, 2024
1 parent 81173d2 commit 365ea7a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions lib/alaveteli_localization/railtie.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ class Railtie < Rails::Railtie
require 'alaveteli_localization/hyphenated_locale'
require 'alaveteli_localization/underscorred_locale'

require 'routing_filters'
require 'i18n_fixes'

paths = ['locale']
Expand All @@ -20,10 +21,6 @@ class Railtie < Rails::Railtie

I18n::Backend::Simple.send(:include, I18n::Backend::Fallbacks)

AlaveteliLocalization.set_default_locale_urls(
AlaveteliConfiguration.include_default_locale_in_urls
)

if Rails.version < '7.0.0' && Rails.env.development?
##
# Ideally the following would only be called in the `after_initialize`
Expand Down

0 comments on commit 365ea7a

Please sign in to comment.