mirror of
https://github.com/System-End/theseus.git
synced 2026-04-19 22:15:09 +00:00
16 lines
377 B
Ruby
16 lines
377 B
Ruby
require "set"
|
|
|
|
module Public
|
|
class MapsController < ApplicationController
|
|
include Frameable
|
|
layout "public/frameable"
|
|
|
|
def show
|
|
@return_path = public_root_path
|
|
@letters_data = Rails.cache.fetch("map_data") do
|
|
# If cache is empty, run the job synchronously as a fallback
|
|
Public::UpdateMapDataJob.perform_now
|
|
end
|
|
end
|
|
end
|
|
end
|