lib/maglev.rb in maglevcms-1.5.1 vs lib/maglev.rb in maglevcms-1.6.0
- old
+ new
@@ -11,10 +11,10 @@
require 'jbuilder'
module Maglev
ROOT_PATH = Pathname.new(File.join(__dir__, '..'))
- ServiceContext = Struct.new(:rendering_mode, :controller, keyword_init: true)
+ ServiceContext = Struct.new(:rendering_mode, :controller, :site, keyword_init: true)
class << self
attr_accessor :local_themes
# rubocop:disable Metrics/MethodLength, Metrics/AbcSize