lib/nanoc/rule_dsl/routing_rule.rb in nanoc-4.11.11 vs lib/nanoc/rule_dsl/routing_rule.rb in nanoc-4.11.12
- old
+ new
@@ -14,10 +14,10 @@
@snapshot_name = snapshot_name
end
contract Nanoc::Core::ItemRep, C::KeywordArgs[
site: Nanoc::Core::Site,
- view_context: Nanoc::ViewContextForPreCompilation,
+ view_context: Nanoc::Core::ViewContextForPreCompilation,
] => C::Any
def apply_to(rep, site:, view_context:)
context = Nanoc::RuleDSL::RoutingRuleContext.new(
rep: rep, site: site, view_context: view_context,
)