Skip to content

Commit

Permalink
Merge pull request #172 from bendangelo/master
Browse files Browse the repository at this point in the history
Fixes cache format version
  • Loading branch information
omohokcoj authored Aug 14, 2024
2 parents f5b4a6b + 99daa2c commit d81af30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/motor/admin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module Motor
class Admin < ::Rails::Engine
config.custom_html = ''

ActiveSupport.cache_format_version = Rails.version.to_f
ActiveSupport.cache_format_version = (Rails.version.to_f > 7.1) ? 7.1 : Rails.version.to_f

if !Motor.development? && Rails.env.development?
config.eager_load_paths.delete(File.expand_path('../../app/controllers', __dir__))
Expand Down

0 comments on commit d81af30

Please sign in to comment.