Fetch the site and set up the Translatable available locales
8 9 10 11 12
# File 'app/services/maglev/fetch_site.rb', line 8 def call Maglev::Site.first.tap do |site| change_default_locales(site) end end