lib/hanami/extensions/view/slice_configured_context.rb in hanami-2.0.0.beta1 vs lib/hanami/extensions/view/slice_configured_context.rb in hanami-2.0.0.beta1.1

- old
+ new

@@ -53,18 +53,18 @@ super(**kwargs) end end def resolve_settings - slice.app[:settings] if slice.app.key?(:settings) + slice["settings"] if slice.key?("settings") end def resolve_routes - slice.app["routes"] if slice.app.key?("routes") + slice["routes"] if slice.key?("routes") end def resolve_assets - slice.app[:assets] if slice.app.key?(:assets) + slice["assets"] if slice.key?("assets") end end end end end