lib/roda/plugins/dry_view.rb in dry-web-roda-0.6.3 vs lib/roda/plugins/dry_view.rb in dry-web-roda-0.7.0
- old
+ new
@@ -7,10 +7,10 @@
app.plugin :flow
end
module InstanceMethods
def view_context
- self.class["view_context"].with(view_context_options)
+ self.class["view.context"].with(view_context_options)
end
def view_context_options
{
flash: flash,